Partager via


ReflectedAsyncControllerDescriptor.GetCustomAttributes Méthode

Définition

Surcharges

GetCustomAttributes(Boolean)

Retourne les attributs personnalisés définis pour ce membre, à l'exception des attributs nommés.

GetCustomAttributes(Type, Boolean)

Retourne les attributs personnalisés d'un type spécifique définis pour ce membre, à l'exception des attributs nommés.

GetCustomAttributes(Boolean)

Retourne les attributs personnalisés définis pour ce membre, à l'exception des attributs nommés.

public override object[] GetCustomAttributes (bool inherit);
override this.GetCustomAttributes : bool -> obj[]
Public Overrides Function GetCustomAttributes (inherit As Boolean) As Object()

Paramètres

inherit
Boolean

true pour rechercher l’attribut personnalisé hérité dans la chaîne hiérarchique ; sinon, false.

Retours

Object[]

Tableau d'attributs personnalisés ou tableau vide s'il n'existe aucun attribut personnalisé.

S’applique à

GetCustomAttributes(Type, Boolean)

Retourne les attributs personnalisés d'un type spécifique définis pour ce membre, à l'exception des attributs nommés.

public override object[] GetCustomAttributes (Type attributeType, bool inherit);
override this.GetCustomAttributes : Type * bool -> obj[]
Public Overrides Function GetCustomAttributes (attributeType As Type, inherit As Boolean) As Object()

Paramètres

attributeType
Type

Type des attributs personnalisés.

inherit
Boolean

true pour rechercher l’attribut personnalisé hérité dans la chaîne hiérarchique ; sinon, false.

Retours

Object[]

Tableau d'attributs personnalisés ou tableau vide s'il n'existe aucun attribut personnalisé.

S’applique à