Collection.IList.IndexOf(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 l’index d’un élément spécifique dans l’objet Collection .
virtual int IListIndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf(object value);
abstract member IListIndexOf : obj -> int
override this.IListIndexOf : obj -> int
Function IListIndexOf (value As Object) As Integer Implements IList.IndexOf
Paramètres
- value
- Object
À Object localiser dans l’objet Collection .
Retours
Index du value cas échéant dans la collection ; sinon, -1.
Remarques
Cette méthode détermine l’index d’un élément spécifique dans l’objet Collection .