| AspNetRequestHeadersLayoutRendererHeaderNames Property |
Note: This API is now obsolete.
Header names to be rendered.
If null or empty array, all headers will be rendered.
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 Items-property. Marked obsolete with NLog.Web 5.3")]
public List<string> HeaderNames { get; set; }
<ObsoleteAttribute("Instead use Items-property. Marked obsolete with NLog.Web 5.3")>
Public Property HeaderNames As List(Of String)
Get
Set
Dim instance As AspNetRequestHeadersLayoutRenderer
Dim value As List(Of String)
value = instance.HeaderNames
instance.HeaderNames = value
[<ObsoleteAttribute("Instead use Items-property. Marked obsolete with NLog.Web 5.3")>]
member HeaderNames : List<string> with get, set
Property Value
Type:
ListStringSee Also