Szerkesztés

Megosztás a következőn keresztül:


XmlText(String, XmlDocument) Constructor

Definition

Initializes a new instance of the XmlText class.

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)

Parameters

strData
String

The content of the node; see the Value property.

doc
XmlDocument

The parent XML document.

Remarks

Do not instantiate an XmlText directly; instead, use methods such as CreateTextNode.

Applies to