| AspNetSessionValueLayoutRendererVariable Property |
Note: This API is now obsolete.
Gets or sets the session item name.
Namespace:
NLog.Web.LayoutRenderers
Assemblies:
NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax [ObsoleteAttribute("Instead use Item-property. Marked obsolete with NLog.Web 5.3")]
public string Variable { get; set; }
<ObsoleteAttribute("Instead use Item-property. Marked obsolete with NLog.Web 5.3")>
Public Property Variable As String
Get
Set
Dim instance As AspNetSessionValueLayoutRenderer
Dim value As String
value = instance.Variable
instance.Variable = value
[<ObsoleteAttribute("Instead use Item-property. Marked obsolete with NLog.Web 5.3")>]
member Variable : string with get, set
Property Value
Type:
StringSee Also