طريقة System::Reflection::MemberInfo::GetCustomAttributes
محتويات
[
يخفي
]MemberInfo::GetCustomAttributes(bool) const method
يرجع مصفوفة تحتوي على كائنات تمثل جميع السمات المخصصة المطبقة على النوع الذي يمثله الكائن الحالي.
ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(bool inherit=false) const
| Parameter | Type | الوصف |
|---|---|---|
| inherit | bool | ما إذا كان يجب فحص السمات الموروثة أيضًا. |
انظر أيضًا
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Object
- Class MemberInfo
- Namespace System::Reflection
- Library Aspose.Page for C++
MemberInfo::GetCustomAttributes(const TypeInfo&, bool) const method
يرجع مصفوفة تحتوي على كائنات تمثل جميع السمات المخصصة المطبقة على النوع الذي يمثله الكائن الحالي.
ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit=false) const
| Parameter | Type | الوصف |
|---|---|---|
| attributeType | const TypeInfo& | نوع السمة المراد البحث عنها. |
| inherit | bool | ما إذا كان يجب فحص السمات الموروثة أيضًا. |
انظر أيضًا
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class MemberInfo
- Namespace System::Reflection
- Library Aspose.Page for C++