AttributedModelProvider.GetCustomAttributes メソッド

定義

オーバーロード

名前 説明
GetCustomAttributes(Type, MemberInfo)

指定した型の指定したメンバーに適用される属性の一覧を提供します。

GetCustomAttributes(Type, ParameterInfo)

指定した型の指定したパラメーターに適用される属性の一覧を提供します。

GetCustomAttributes(Type, MemberInfo)

ソース:
AttributedModelProvider.cs
ソース:
AttributedModelProvider.cs
ソース:
AttributedModelProvider.cs
ソース:
AttributedModelProvider.cs

指定した型の指定したメンバーに適用される属性の一覧を提供します。

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)

ソース:
AttributedModelProvider.cs
ソース:
AttributedModelProvider.cs
ソース:
AttributedModelProvider.cs
ソース:
AttributedModelProvider.cs

指定した型の指定したパラメーターに適用される属性の一覧を提供します。

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

検査するパラメーター。

返品

指定したパラメーターに適用される属性のコレクション。

適用対象