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.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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