語言

XmlElement(String, String, String, XmlDocument) 建構函式

定義

初始化 XmlElement 類別的新執行個體。

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)

參數

prefix
String

命名空間前綴;請參閱該 Prefix 物業。

localName
String

當地名稱;請參閱該 LocalName 物業。

namespaceURI
String

命名空間為 URI;請參閱該 NamespaceURI 物業。

doc
XmlDocument

父 XML 文件。

備註

不要直接實例化 a XmlElement ;而是使用像 CreateElement。

適用於