XmlDeclaration(String, String, String, XmlDocument) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XmlDeclaration class.
protected public:
XmlDeclaration(System::String ^ version, System::String ^ encoding, System::String ^ standalone, System::Xml::XmlDocument ^ doc);
protected internal XmlDeclaration (string version, string encoding, string standalone, System.Xml.XmlDocument doc);
protected internal XmlDeclaration (string version, string? encoding, string? standalone, System.Xml.XmlDocument doc);
new System.Xml.XmlDeclaration : string * string * string * System.Xml.XmlDocument -> System.Xml.XmlDeclaration
Protected Friend Sub New (version As String, encoding As String, standalone As String, doc As XmlDocument)
Parameters
- standalone
- String
Indicates whether the XML document depends on an external DTD; see the Standalone property.
- doc
- XmlDocument
The parent XML document.
Remarks
Do not instantiate an XmlDeclaration directly; instead, use methods such as CreateNode.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.