GlobalTypeCollection.IList.IndexOf(Object) Méthode

Définition

Obtient la position d'un élément dans la collection

 virtual int System.Collections.IList.IndexOf(System::Object ^ item) = System::Collections::IList::IndexOf;
 virtual int System.Collections.IList.IndexOf(Platform::Object ^ item) = System::Collections::IList::IndexOf;
int System.Collections.IList.IndexOf(winrt::Windows::Foundation::IInspectable const & item);
int IList.IndexOf (object item);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (item As Object) As Integer Implements IList.IndexOf

Paramètres

item
Object

Élément à rechercher.

Retours

Int32

Position de l'élément, ou -1 s'il est introuvable.

Implémente

S’applique à