System::Xml::XmlElement::HasAttribute método
Contenido
[
Ocultar
]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ámetro | Tipo | Descripción |
|---|---|---|
| localName | String | El nombre local del atributo a buscar. |
| namespaceURI | String | El URI del espacio de nombres del atributo a buscar. |
ReturnValue
true if the current node has the specified attribute; otherwise, false.
Ver también
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++
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ámetro | Tipo | Descripción |
|---|---|---|
| name | String | El 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
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++