XmlAttribute(String, String, String, XmlDocument) Konstruktor

Definice

Inicializuje novou instanci XmlAttribute třídy.

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

Předpona oboru názvů.

localName
String

Místní název atributu.

namespaceURI
String

Identifikátor URI (Namespace Uniform Resource Identifier).

doc
XmlDocument

Nadřazený dokument XML.

Poznámky

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

Platí pro