XmlElement(String, String, String, XmlDocument) Construtor
Definição
Inicializa uma nova instância da classe XmlElement.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);
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)
Parâmetros
- prefix
- String
O prefixo de namespace; consulte a propriedade Prefix.The namespace prefix; see the Prefix property.
- localName
- String
O nome local; consulte a propriedade LocalName.The local name; see the LocalName property.
- namespaceURI
- String
O URI do namespace; consulte a propriedade NamespaceURI.The namespace URI; see the NamespaceURI property.
- doc
- XmlDocument
O documento XML pai.The parent XML document.
Comentários
Não crie uma instância XmlElement diretamente; em vez disso, use métodos como CreateElement .Do not instantiate an XmlElement directly; instead, use methods such as CreateElement.