## XmlElement::HasAttribute(String, String) method


Bepaalt of het huidige knooppunt een attribuut heeft met de opgegeven lokale naam en namespace-URI.

```cpp
virtual bool System::Xml::XmlElement::HasAttribute(String localName, String namespaceURI)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| localName | String | De lokale naam van het attribuut om te vinden. |
| namespaceURI | String | De namespace-URI van het attribuut om te vinden. |

### ReturnValue

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

## Zie ook

* Class [String](../../../system/string/)
* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
## XmlElement::HasAttribute(String) method


Bepaalt of het huidige knooppunt een attribuut heeft met de opgegeven naam.

```cpp
virtual bool System::Xml::XmlElement::HasAttribute(String name)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| name | String | De naam van het attribuut om te vinden. Dit is een gekwalificeerde naam. Het wordt vergeleken met de **get_Name**-waarde van het overeenkomende knooppunt. |

### ReturnValue

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

## Zie ook

* Class [String](../../../system/string/)
* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
