| AspNetItemValueLayoutRendererObjectPath Property |
Gets or sets the object-property-navigation-path for lookup of nested property.
In this case the Item should have have any dot notation, as the nested properties path is in this variable
Example:
Item="person";
ObjectPath="Name.First"
This will emit the First Name property of the object in HttpContext.Items woith the key of 'person' in the collection
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 public string ObjectPath { get; set; }
Public Property ObjectPath As String
Get
Set
Dim instance As AspNetItemValueLayoutRenderer
Dim value As String
value = instance.ObjectPath
instance.ObjectPath = value
member ObjectPath : string with get, set
Property Value
Type:
StringSee Also