XmlAttribute(String, String, String, XmlDocument) Konstruktor

Definíció

Inicializálja a XmlAttribute osztály új példányát.

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)

Paraméterek

prefix
String

A névtér előtagja.

localName
String

Az attribútum helyi neve.

namespaceURI
String

A névtér egységes erőforrás-azonosítója (URI).

doc
XmlDocument

A szülő XML-dokumentum.

Megjegyzések

Ne példányosítjon közvetlen példányt XmlAttribute ; ehelyett használjon olyan metódusokat, mint a CreateAttribute.

A következőre érvényes: