ListBox.IntegerCollection.IList.IndexOf(Object) Metoda

Definice

Vrátí index zadaného zarážky tabulátoru v kolekci.

 virtual int System.Collections.IList.IndexOf(System::Object ^ item) = System::Collections::IList::IndexOf;
int IList.IndexOf (object 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

Parametry

item
Object

Zarážka tabulátoru, která se má najít v souboru ListBox.IntegerCollection.

Návraty

Int32

Index položky založené na nule, pokud byl nalezen v souboru ListBox.IntegerCollection; jinak - 1.

Implementuje

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze ho ListBox.IntegerCollection použít pouze v případě, že je instance přetypována do IList rozhraní.

Platí pro