XmlElement(String, String, String, XmlDocument) Konstruktor

Definice

Inicializuje novou instanci XmlElement třídy.

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

Předpona oboru názvů; Prefix zobrazit vlastnost.

localName
String

Místní název; LocalName zobrazit vlastnost.

namespaceURI
String

Identifikátor URI oboru názvů; NamespaceURI zobrazit vlastnost.

doc
XmlDocument

Nadřazený dokument XML.

Poznámky

Nepoužívejte XmlElement instanci přímo; místo toho použijte metody, jako CreateElementje .

Platí pro