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에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET