XmlAttribute(String, String, String, XmlDocument) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy XmlAttribute.

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

Parametry

prefix
String

Prefiks przestrzeni nazw.

localName
String

Lokalna nazwa atrybutu.

namespaceURI
String

Identyfikator URI (URI) przestrzeni nazw.

doc
XmlDocument

Nadrzędny dokument XML.

Uwagi

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

Dotyczy