MemberDescriptor.Attributes Propriété

Définition

Obtient la collection d’attributs pour ce membre.

public:
 virtual property System::ComponentModel::AttributeCollection ^ Attributes { System::ComponentModel::AttributeCollection ^ get(); };
public virtual System.ComponentModel.AttributeCollection Attributes { get; }
member this.Attributes : System.ComponentModel.AttributeCollection
Public Overridable ReadOnly Property Attributes As AttributeCollection

Valeur de propriété

Qui AttributeCollection fournit les attributs de ce membre, ou une collection vide s’il n’existe aucun attribut dans le AttributeArray.

Remarques

S’il n’existe pas AttributeCollection pour ce membre, cette propriété appelle la CreateAttributeCollection méthode pour créer une AttributeCollection nouvelle méthode à l’aide du tableau d’objets Attribute transmis au constructeur.

S’applique à

Voir aussi