PropertyValueCollection.Add(Object) 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 spécifié PropertyValueCollection à cette collection.
public:
int Add(System::Object ^ value);
public int Add(object? value);
public int Add(object value);
member this.Add : obj -> int
Public Function Add (value As Object) As Integer
Paramètres
- value
- Object
Objet PropertyValueCollection à ajouter à cette collection.
Retours
Index de base zéro de l’objet PropertyValueCollection ajouté à cette collection.
Exceptions
Une erreur s’est produite pendant l’appel à l’interface sous-jacente.
La valeur de propriété est une référence Null (Nothing dans Visual Basic).