共用方式為


XmlCharacterData(String, XmlDocument) 建構函式

定義

初始化 XmlCharacterData 類別的新執行個體。

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

參數

data
String

字串,包含要加入至文件的字元資料。

doc
XmlDocument

要包含字元資料的 XmlDocument

適用於