Compartilhar via


AttributedModelProvider.GetCustomAttributes Método

Definição

Sobrecargas

GetCustomAttributes(Type, MemberInfo)

Fornece a lista de atributos aplicados ao membro especificado do tipo especificado.

GetCustomAttributes(Type, ParameterInfo)

Fornece a lista de atributos aplicados ao parâmetro especificado do tipo especificado.

GetCustomAttributes(Type, MemberInfo)

Origem:
AttributedModelProvider.cs
Origem:
AttributedModelProvider.cs
Origem:
AttributedModelProvider.cs

Fornece a lista de atributos aplicados ao membro especificado do tipo especificado.

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)

Parâmetros

reflectedType
Type

O tipo.

member
MemberInfo

O membro a ser inspecionado.

Retornos

Uma coleção dos atributos aplicados ao membro especificado.

Aplica-se a

GetCustomAttributes(Type, ParameterInfo)

Origem:
AttributedModelProvider.cs
Origem:
AttributedModelProvider.cs
Origem:
AttributedModelProvider.cs

Fornece a lista de atributos aplicados ao parâmetro especificado do tipo especificado.

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)

Parâmetros

reflectedType
Type

O tipo.

parameter
ParameterInfo

O parâmetro a ser inspecionado.

Retornos

Uma coleção dos atributos aplicados ao parâmetro especificado.

Aplica-se a