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継承された属性もチェックするかどうか。

参照