XmlElement(String, String, String, XmlDocument) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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)
參數
- namespaceURI
- String
命名空間為 URI;請參閱該 NamespaceURI 物業。
- doc
- XmlDocument
父 XML 文件。
備註
不要直接實例化 a XmlElement ;而是使用像 CreateElement。