Partager via


ConventionBuilder.GetCustomAttributes Méthode

Définition

Surcharges

GetCustomAttributes(Type, MemberInfo)

Récupère la liste d'attributs personnalisés appliquée au membre spécifié du type spécifié.

GetCustomAttributes(Type, ParameterInfo)

Récupère la liste d'attributs personnalisés appliquée au paramètre spécifié du type spécifié.

GetCustomAttributes(Type, MemberInfo)

Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs

Récupère la liste d'attributs personnalisés appliquée au membre spécifié du type spécifié.

public:
 override System::Collections::Generic::IEnumerable<Attribute ^> ^ GetCustomAttributes(Type ^ reflectedType, System::Reflection::MemberInfo ^ member);
public override System.Collections.Generic.IEnumerable<Attribute> GetCustomAttributes (Type reflectedType, System.Reflection.MemberInfo member);
override this.GetCustomAttributes : Type * System.Reflection.MemberInfo -> seq<Attribute>
Public Overrides Function GetCustomAttributes (reflectedType As Type, member As MemberInfo) As IEnumerable(Of Attribute)

Paramètres

reflectedType
Type

Type.

member
MemberInfo

Membre à inspecter.

Retours

Collection d'attributs personnalisés.

S’applique à

GetCustomAttributes(Type, ParameterInfo)

Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs
Source:
ConventionBuilder.cs

Récupère la liste d'attributs personnalisés appliquée au paramètre spécifié du type spécifié.

public:
 override System::Collections::Generic::IEnumerable<Attribute ^> ^ GetCustomAttributes(Type ^ reflectedType, System::Reflection::ParameterInfo ^ parameter);
public override System.Collections.Generic.IEnumerable<Attribute> GetCustomAttributes (Type reflectedType, System.Reflection.ParameterInfo parameter);
override this.GetCustomAttributes : Type * System.Reflection.ParameterInfo -> seq<Attribute>
Public Overrides Function GetCustomAttributes (reflectedType As Type, parameter As ParameterInfo) As IEnumerable(Of Attribute)

Paramètres

reflectedType
Type

Type.

parameter
ParameterInfo

Paramètre à inspecter.

Retours

Collection d'attributs personnalisés.

S’applique à