Click or drag to resize

XmlAttribute Constructor (String, Layout)

Initializes a new instance of the XmlAttribute class.

Namespace:  NLog.Layouts
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public XmlAttribute(
	string name,
	Layout layout
)

Parameters

name
Type: SystemString
The name of the attribute.
layout
Type: NLog.LayoutsLayout
The layout of the attribute's value.
See Also