ModelItemCollection.IList.Contains(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.
Détermine si le ModelItemCollection contient l’élément spécifié.
virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains(object value);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (value As Object) As Boolean Implements IList.Contains
Paramètres
- value
- Object
Objet à localiser dans le ModelItemCollection.
Retours
true si le ModelItemCollection contient un élément qui a la valeur spécifiée ; sinon, false.
Implémente
Exceptions
value a la valeur null.