| XmlLayout Constructor (String, Layout) |
Initializes a new instance of the
XmlLayout class.
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public XmlLayout(
string elementName,
Layout elementValue
)
Public Sub New (
elementName As String,
elementValue As Layout
)
Dim elementName As String
Dim elementValue As Layout
Dim instance As New XmlLayout(elementName,
elementValue)
new :
elementName : string *
elementValue : Layout -> XmlLayout
Parameters
- elementName
- Type: SystemString
The name of the top XML node - elementValue
- Type: NLog.LayoutsLayout
The value of the top XML node
See Also