XmlDeclaration Constructor (String^, String^, String^, XmlDocument^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the XmlDeclaration class.
Assembly: System.Xml (in System.Xml.dll)
public protected: XmlDeclaration( String^ version, String^ encoding, String^ standalone, XmlDocument^ doc )
Parameters
- version
-
Type:
System::String^
The XML version; see the Version property.
- encoding
-
Type:
System::String^
The encoding scheme; see the Encoding property.
- standalone
-
Type:
System::String^
Indicates whether the XML document depends on an external DTD; see the Standalone property.
- doc
-
Type:
System.Xml::XmlDocument^
The parent XML document.
Do not instantiate an XmlDeclaration directly; instead, use methods such as CreateNode.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 10
.NET Framework
Available since 1.1
Show: