PropertyDescriptorCollection.Add(PropertyDescriptor) 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.
Ajoute l'objet PropertyDescriptor spécifié à la collection.
public:
int Add(System::ComponentModel::PropertyDescriptor ^ value);
public int Add (System.ComponentModel.PropertyDescriptor value);
member this.Add : System.ComponentModel.PropertyDescriptor -> int
Public Function Add (value As PropertyDescriptor) As Integer
Paramètres
- value
- PropertyDescriptor
Objet PropertyDescriptor à ajouter à la collection.
Retours
Index du PropertyDescriptor qui a été ajouté à la collection.
Exceptions
La collection est en lecture seule.