System::Xml::XmlElement::HasAttribute metodo
Contenuti
[
Nascondere
]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)
| Parametro | Tipo | Descrizione |
|---|---|---|
| localName | Stringa | Il nome locale dell’attributo da trovare. |
| namespaceURI | Stringa | L’URI dello spazio dei nomi dell’attributo da trovare. |
ReturnValue
true if the current node has the specified attribute; otherwise, false.
Vedi anche
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Font for C++
XmlElement::HasAttribute(String) method
Determina se il nodo corrente ha un attributo con il nome specificato.
virtual bool System::Xml::XmlElement::HasAttribute(String name)
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | Stringa | Il 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
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Font for C++