XmlDeclaration(String, String, String, XmlDocument) 생성자

정의

XmlDeclaration 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

version
String

XML 버전; 속성을 참조하세요 Version .

encoding
String

인코딩 구성표입니다. 속성을 참조하세요 Encoding .

standalone
String

XML 문서가 외부 DTD에 종속되는지 여부를 나타냅니다. 속성을 참조하세요 Standalone .

doc
XmlDocument

부모 XML 문서입니다.

설명

직접 인스턴스화 XmlDeclaration 하지 말고 , 대신 다음과 같은 CreateNode메서드를 사용합니다.

적용 대상