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메서드를 사용합니다.

적용 대상