ReflectedAsyncControllerDescriptor.GetCustomAttributes Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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
Tableau d'attributs personnalisés ou tableau vide s'il n'existe aucun attribut personnalisé.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour