## XmlSchemaValidator::ValidateAttribute(const String\&, const String\&, const String\&, const SharedPtr\<XmlSchemaInfo\>\&) method


يتحقق من اسم السمة، ومعرّف مساحة الاسم (URI)، والقيمة في سياق العنصر الحالي.

```cpp
SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateAttribute(const String &localName, const String &namespaceUri, const String &attributeValue, const SharedPtr<XmlSchemaInfo> &schemaInfo)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| localName | const String\& | الاسم المحلي للسمة التي سيتم التحقق منها. |
| namespaceUri | const String\& | معرّف مساحة الاسم (URI) للسمة التي سيتم التحقق منها. |
| attributeValue | const String\& | قيمة السمة التي سيتم التحقق منها. |
| schemaInfo | const SharedPtr\<XmlSchemaInfo\>\& | كائن [XmlSchemaInfo](../../xmlschemainfo/) تُضبط خصائصه عند التحقق الناجح من السمة. يمكن أن تكون هذه المعلمة **nullptr**. |

### ReturnValue

قيمة السمة التي تم التحقق منها.

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Class [XmlSchemaInfo](../../xmlschemainfo/)
* Class [XmlSchemaValidator](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
## XmlSchemaValidator::ValidateAttribute(const String\&, const String\&, XmlValueGetter, const SharedPtr\<XmlSchemaInfo\>\&) method


يتحقق من اسم السمة، ومعرّف مساحة الاسم (URI)، والقيمة في سياق العنصر الحالي.

```cpp
SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateAttribute(const String &localName, const String &namespaceUri, XmlValueGetter attributeValue, const SharedPtr<XmlSchemaInfo> &schemaInfo)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| localName | const String\& | الاسم المحلي للسمة التي سيتم التحقق منها. |
| namespaceUri | const String\& | معرّف مساحة الاسم (URI) للسمة التي سيتم التحقق منها. |
| attributeValue | XmlValueGetter | استدعاء رد نداء [XmlValueGetter](../../xmlvaluegetter/) يُستخدم لتمرير قيمة السمة كنوع متوافق مع نوع لغة تعريف مخطط XML [Schema](../../) (XSD) الخاص بالسمة. |
| schemaInfo | const SharedPtr\<XmlSchemaInfo\>\& | كائن [XmlSchemaInfo](../../xmlschemainfo/) تُضبط خصائصه عند التحقق الناجح من السمة. هذه المعلمة ويمكن أن تكون **nullptr**. |

### ReturnValue

قيمة السمة التي تم التحقق منها.

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [String](../../../system/string/)
* Typedef [XmlValueGetter](../../xmlvaluegetter/)
* Class [XmlSchemaInfo](../../xmlschemainfo/)
* Class [XmlSchemaValidator](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
