XmlAttribute Class |
Namespace: NLog.Layouts
The XmlAttribute type exposes the following members.
Name | Description | |
---|---|---|
XmlAttribute |
Initializes a new instance of the XmlAttribute class.
| |
XmlAttribute(String, Layout) |
Initializes a new instance of the XmlAttribute class.
| |
XmlAttribute(String, Layout, Boolean) |
Initializes a new instance of the XmlAttribute class.
|
Name | Description | |
---|---|---|
DefaultValue |
Gets or sets the fallback value when result value is not available
| |
Encode |
Gets or sets whether output should be encoded with Xml-string escaping, or be treated as valid xml-attribute-value
| |
IncludeEmptyValue |
Gets or sets whether an attribute with empty value should be included in the output
| |
Layout |
Gets or sets the layout that will be rendered as the attribute's value.
| |
Name |
Gets or sets the name of the attribute.
| |
ValueType |
Gets or sets the result value type, for conversion of layout rendering output
|