XmlElement(String, String, String, XmlDocument) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy XmlElement.

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

Parametry

prefix
String

Prefiks przestrzeni nazw; Prefix zobacz właściwość .

localName
String

Nazwa lokalna; LocalName zobacz właściwość .

namespaceURI
String

Identyfikator URI przestrzeni nazw; NamespaceURI zobacz właściwość .

doc
XmlDocument

Nadrzędny dokument XML.

Uwagi

Nie twórz wystąpienia XmlElement bezpośrednio; zamiast tego należy użyć metod takich jak CreateElement.

Dotyczy