CustomTypeDescriptor.GetAttributes Méthode

Définition

Retourne une collection d’attributs personnalisés pour le type représenté par ce descripteur de type.

public:
 virtual System::ComponentModel::AttributeCollection ^ GetAttributes();
public virtual System.ComponentModel.AttributeCollection GetAttributes();
abstract member GetAttributes : unit -> System.ComponentModel.AttributeCollection
override this.GetAttributes : unit -> System.ComponentModel.AttributeCollection
Public Overridable Function GetAttributes () As AttributeCollection

Retours

Contenant AttributeCollection les attributs du type. La valeur par défaut est Empty.

Implémente

Remarques

Si un descripteur de type personnalisé parent a été passé au CustomTypeDescriptor constructeur, la GetAttributes méthode appelle la méthode correspondante du parent.

S’applique à

Voir aussi