Düzenle

Aracılığıyla paylaş


XmlElement(String, String, String, XmlDocument) Constructor

Definition

Initializes a new instance of the XmlElement class.

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);
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)

Parameters

prefix
String

The namespace prefix; see the Prefix property.

localName
String

The local name; see the LocalName property.

namespaceURI
String

The namespace URI; see the NamespaceURI property.

doc
XmlDocument

The parent XML document.

Remarks

Do not instantiate an XmlElement directly; instead, use methods such as CreateElement.

Applies to