Click or drag to resize

XmlLayout Constructor (String, Layout)

Initializes a new instance of the XmlLayout class.

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public XmlLayout(
	string elementName,
	Layout elementValue
)

Parameters

elementName
Type: SystemString
The name of the top XML node
elementValue
Type: NLog.LayoutsLayout
The value of the top XML node
See Also