AttributedModelProvider.GetCustomAttributes メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetCustomAttributes(Type, MemberInfo) |
指定した型の指定したメンバーに適用される属性の一覧を提供します。 |
| GetCustomAttributes(Type, ParameterInfo) |
指定した型の指定したパラメーターに適用される属性の一覧を提供します。 |
GetCustomAttributes(Type, MemberInfo)
指定した型の指定したメンバーに適用される属性の一覧を提供します。
public:
abstract System::Collections::Generic::IEnumerable<Attribute ^> ^ GetCustomAttributes(Type ^ reflectedType, System::Reflection::MemberInfo ^ member);
public abstract System.Collections.Generic.IEnumerable<Attribute> GetCustomAttributes(Type reflectedType, System.Reflection.MemberInfo member);
abstract member GetCustomAttributes : Type * System.Reflection.MemberInfo -> seq<Attribute>
Public MustOverride Function GetCustomAttributes (reflectedType As Type, member As MemberInfo) As IEnumerable(Of Attribute)
パラメーター
- reflectedType
- Type
型。
- member
- MemberInfo
検査するメンバー。
返品
指定したメンバーに適用される属性のコレクション。
適用対象
GetCustomAttributes(Type, ParameterInfo)
指定した型の指定したパラメーターに適用される属性の一覧を提供します。
public:
abstract System::Collections::Generic::IEnumerable<Attribute ^> ^ GetCustomAttributes(Type ^ reflectedType, System::Reflection::ParameterInfo ^ parameter);
public abstract System.Collections.Generic.IEnumerable<Attribute> GetCustomAttributes(Type reflectedType, System.Reflection.ParameterInfo parameter);
abstract member GetCustomAttributes : Type * System.Reflection.ParameterInfo -> seq<Attribute>
Public MustOverride Function GetCustomAttributes (reflectedType As Type, parameter As ParameterInfo) As IEnumerable(Of Attribute)
パラメーター
- reflectedType
- Type
型。
- parameter
- ParameterInfo
検査するパラメーター。
返品
指定したパラメーターに適用される属性のコレクション。