طريقة System::TypeInfo::GetCustomAttributes

TypeInfo::GetCustomAttributes() const method

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

ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes() const

انظر أيضًا

TypeInfo::GetCustomAttributes(const TypeInfo&, bool) const method

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

ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit) const
معاملنوعالوصف
attributeTypeconst TypeInfo&نوع السمة المراد البحث عنها.
inheritboolما إذا كان يجب البحث عن السمات الموروثة أيضًا.

انظر أيضًا