System::Reflection::MemberInfo::GetCustomAttributes طريقة

MemberInfo::GetCustomAttributes(bool) const method

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

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(bool inherit=false) const
معاملنوعالوصف
inheritboolما إذا كان يجب فحص السمات الموروثة أيضًا.

انظر أيضًا

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

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

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

انظر أيضًا