 | AspNetLayoutMultiValueRendererBase.SingleAsArray Property |
Note: This API is now obsolete.
Get or set whether single key/value-pair be rendered as Json-Array.
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("Replaced by OutputFormat = JsonArray / JsonDictionary. Marked obsolete with NLog.Web ver. 5.0")]
public bool SingleAsArray { get; set; }
<ObsoleteAttribute("Replaced by OutputFormat = JsonArray / JsonDictionary. Marked obsolete with NLog.Web ver. 5.0")>
Public Property SingleAsArray As Boolean
Get
Set
Dim instance As AspNetLayoutMultiValueRendererBase
Dim value As Boolean
value = instance.SingleAsArray
instance.SingleAsArray = value
[<ObsoleteAttribute("Replaced by OutputFormat = JsonArray / JsonDictionary. Marked obsolete with NLog.Web ver. 5.0")>]
member SingleAsArray : bool with get, set
Property Value
Type:
Boolean
See Also