XMLDeclaration Type
The XML declaration present at the beginning of a document.
Remarks
This type contains details about the XML declaration which may be set before writing a document.
This is only applicable when writing documents.
Fields
| |
Encoding String |
This field specifies the XML encoding to use.
This may be set before writing a document.
The default value is "utf-8".
This is only applicable when writing XML.
|
Standalone Boolean |
This field indicates whether the standalone attribute is present in the declaration with a value of true.
This may be set before writing a document.
The default value is "true".
This is only applicable when writing XML.
|
Version String |
This field specifies the XML version.
This may be set before writing a document.
The default value is "1.0".
This is only applicable when writing XML.
|
Constructors
[VB.NET]
Public XMLDeclaration()
[C#]
public XMLDeclaration();
[VB.NET]
Public XMLDeclaration(ByVal Version As String, ByVal Encoding As String, ByVal Standalone As Boolean)
[C#]
public XMLDeclaration(string version, string encoding, bool standalone);