System::Xml::XmlElement::HasAttribute método

XmlElement::HasAttribute(String, String) method

Determina si el nodo actual tiene un atributo con el nombre local y el URI del espacio de nombres especificados.

virtual bool System::Xml::XmlElement::HasAttribute(String localName, String namespaceURI)
ParámetroTipoDescripción
localNameStringEl nombre local del atributo a buscar.
namespaceURIStringEl URI del espacio de nombres del atributo a buscar.

ReturnValue

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

Ver también

XmlElement::HasAttribute(String) method

Determina si el nodo actual tiene un atributo con el nombre especificado.

virtual bool System::Xml::XmlElement::HasAttribute(String name)
ParámetroTipoDescripción
nameStringEl nombre del atributo a buscar. Este es un nombre calificado. Se compara con el valor get_Name del nodo coincidente.

ReturnValue

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

Ver también