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

适用于