System::Reflection::MemberInfo::GetCustomAttributes method

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

Returns an array containing objects that represent all custom attributes applied to the type represented by the current object.

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit=false) const
ParameterTypeDescription
attributeTypeconst TypeInfo&Type of attribute to look for.
inheritboolWhether to check inherited attributes, too.

See Also

MemberInfo::GetCustomAttributes(bool) const method

Returns an array containing objects that represent all custom attributes applied to the type represented by the current object.

ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(bool inherit=false) const
ParameterTypeDescription
inheritboolWhether to check inherited attributes, too.

See Also