System::Xml::XmlElement::HasAttribute metodo

XmlElement::HasAttribute(String, String) method

Determina se il nodo corrente ha un attributo con il nome locale e l’URI dello spazio dei nomi specificati.

virtual bool System::Xml::XmlElement::HasAttribute(String localName, String namespaceURI)
ParametroTipoDescrizione
localNameStringaIl nome locale dell’attributo da trovare.
namespaceURIStringaL’URI dello spazio dei nomi dell’attributo da trovare.

ReturnValue

true if the current node has the specified attribute; otherwise, false.

Vedi anche

XmlElement::HasAttribute(String) method

Determina se il nodo corrente ha un attributo con il nome specificato.

virtual bool System::Xml::XmlElement::HasAttribute(String name)
ParametroTipoDescrizione
nomeStringaIl nome dell’attributo da trovare. Questo è un nome qualificato. Viene confrontato con il valore get_Name del nodo corrispondente.

ReturnValue

true if the current node has the specified attribute; otherwise, false.

Vedi anche