ICustomAttributeProvider Interface

Définition

Fournit des attributs personnalisés pour les objets de réflexion qui les prennent en charge.

public interface class ICustomAttributeProvider
public interface ICustomAttributeProvider
[System.Runtime.InteropServices.ComVisible(true)]
public interface ICustomAttributeProvider
type ICustomAttributeProvider = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ICustomAttributeProvider = interface
Public Interface ICustomAttributeProvider
Dérivé
Attributs

Remarques

Presque toutes les classes de réflexion peuvent avoir des attributs associés. Les attributs peuvent être standard (public, privé, HelpString) ou personnalisés.

Méthodes

GetCustomAttributes(Boolean)

Retourne un tableau de tous les attributs personnalisés définis sur ce membre, en dehors des attributs nommés, ou un tableau vide s’il n’y a aucun attribut personnalisé.

GetCustomAttributes(Type, Boolean)

Retourne un tableau d’attributs personnalisés définis sur ce membre, identifiés par type, ou un tableau vide s’il n’y a aucun attribut personnalisé de ce type.

IsDefined(Type, Boolean)

Indique si une ou plusieurs instances de attributeType sont définies sur ce membre.

S’applique à