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


Καθορίζει εάν ο τρέχων κόμβος έχει ένα χαρακτηριστικό με το καθορισμένο τοπικό όνομα και το URI του ονοματοχώρου.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| localName | String | Το τοπικό όνομα του χαρακτηριστικού για εύρεση. |
| namespaceURI | String | Το URI του χώρου ονομάτων του χαρακτηριστικού για εύρεση. |

### ReturnValue

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

## Δείτε επίσης

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


Καθορίζει εάν ο τρέχων κόμβος έχει ένα χαρακτηριστικό με το καθορισμένο όνομα.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| όνομα | String | Το όνομα του χαρακτηριστικού για εύρεση. Αυτό είναι ένα πλήρες όνομα. Συμφωνεί με την τιμή **get_Name** του αντίστοιχου κόμβου. |

### ReturnValue

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

## Δείτε επίσης

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