XmlText(String, XmlDocument) 생성자

정의

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

protected public:
 XmlText(System::String ^ strData, System::Xml::XmlDocument ^ doc);
protected internal XmlText (string strData, System.Xml.XmlDocument doc);
protected internal XmlText (string? strData, System.Xml.XmlDocument doc);
new System.Xml.XmlText : string * System.Xml.XmlDocument -> System.Xml.XmlText
Protected Friend Sub New (strData As String, doc As XmlDocument)

매개 변수

strData
String

노드의 내용입니다. Value 속성을 참조하십시오.

doc
XmlDocument

부모 XML 문서입니다.

설명

직접 인스턴스화 XmlText 하지 말고 , 대신 .와 같은 CreateTextNode메서드를 사용합니다.

적용 대상