## Attribute::GetCustomAttribute method


يعيد سمة مخصصة من نوع محدد مطبقة على النوع المحدد.

```cpp
static Object::ptr System::Attribute::GetCustomAttribute(const TypeInfo &type, const TypeInfo &attributeType)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| نوع | const TypeInfo\& | سمة النوع التي يتم استرجاعها |
| attributeType | const TypeInfo\& | نوع السمة المراد استرجاعها |

### ReturnValue

سمة مسترجعة أو null إذا لم يكن للنوع المحدد سمة من النوع المحدد.

## انظر أيضًا

* Typedef [ptr](../../object/ptr/)
* Class [TypeInfo](../../typeinfo/)
* Class [Attribute](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
