XmlText(String, XmlDocument) Konstruktor

Definice

Inicializuje novou instanci XmlText třídy .

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)

Parametry

strData
String

Obsah uzlu; zobrazte Value vlastnost .

doc
XmlDocument

Nadřazený dokument XML.

Poznámky

Nevytvořete XmlText instanci přímo. Místo toho použijte metody, jako CreateTextNodeje .

Platí pro