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


يحدد ما إذا كان العقدة الحالية تحتوي على خاصية بالاسم المحلي ومسار مساحة الاسم المحددين.

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


| معامل | نوع | الوصف |
| --- | --- | --- |
| 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.Font for C++](../../../)
## XmlElement::HasAttribute(String) method


يحدد ما إذا كان العقدة الحالية تحتوي على خاصية بالاسم المحدد.

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


| معامل | نوع | الوصف |
| --- | --- | --- |
| name | 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.Font for C++](../../../)
