 | AspNetHttpContextItemLayoutRendererVariable Property |
Note: This API is now obsolete.
Gets or sets the item variable name.
Namespace:
NLog.Web.LayoutRenderers
Assemblies:
NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
NLog.Web (in NLog.Web.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
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 AspNetHttpContextItemLayoutRenderer
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:
String
See Also