 | XmlAttribute Constructor (String, Layout, Boolean) |
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntaxpublic XmlAttribute(
string name,
Layout layout,
bool encode
)
Public Sub New (
name As String,
layout As Layout,
encode As Boolean
)
Dim name As String
Dim layout As Layout
Dim encode As Boolean
Dim instance As New XmlAttribute(name, layout,
encode)
new :
name : string *
layout : Layout *
encode : bool -> XmlAttribute
Parameters
- name
- Type: SystemString
The name of the attribute. - layout
- Type: NLog.LayoutsLayout
The layout of the attribute's value. - encode
- Type: SystemBoolean
Encode value with xml-encode
See Also