 | EventLogTargetEventId Property |
Gets or sets the layout that renders event ID.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic Layout<int> EventId { get; set; }
Public Property EventId As Layout(Of Integer)
Get
Set
Dim instance As EventLogTarget
Dim value As Layout(Of Integer)
value = instance.EventId
instance.EventId = value
member EventId : Layout<int> with get, set
Property Value
Type:
LayoutInt32
RemarksDefault:
1${event-properties:item=EventId}
See Also