## MemberInfo::GetCustomAttributes(bool) const method


يرجع مصفوفة تحتوي على كائنات تمثل جميع السمات المخصصة المطبقة على النوع الذي يمثله الكائن الحالي.

```cpp
ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(bool inherit=false) const
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| inherit | bool | ما إذا كان يجب فحص السمات الموروثة أيضًا. |

## انظر أيضًا

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [MemberInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.Page for C++](../../../)
## MemberInfo::GetCustomAttributes(const TypeInfo\&, bool) const method


يرجع مصفوفة تحتوي على كائنات تمثل جميع السمات المخصصة المطبقة على النوع الذي يمثله الكائن الحالي.

```cpp
ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit=false) const
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| attributeType | const TypeInfo\& | نوع السمة المراد البحث عنها. |
| inherit | bool | ما إذا كان يجب فحص السمات الموروثة أيضًا. |

## انظر أيضًا

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [TypeInfo](../../../system/typeinfo/)
* Class [MemberInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.Page for C++](../../../)
