 | TargetPropertyWithContext Constructor (String, Layout) |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic TargetPropertyWithContext(
string name,
Layout layout
)
Public Sub New (
name As String,
layout As Layout
)
Dim name As String
Dim layout As Layout
Dim instance As New TargetPropertyWithContext(name, layout)
new :
name : string *
layout : Layout -> TargetPropertyWithContext
Parameters
- name
- Type: SystemString
The name of the attribute. - layout
- Type: NLog.LayoutsLayout
The layout of the attribute's value.
See Also