TabControl.TabPageCollection.IList.IndexOf(Object) Metoda

Definice

Vrátí index zadaného TabPage ovládacího prvku v kolekci.

 virtual int System.Collections.IList.IndexOf(System::Object ^ page) = System::Collections::IList::IndexOf;
int IList.IndexOf (object page);
int IList.IndexOf (object? page);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (page As Object) As Integer Implements IList.IndexOf

Parametry

page
Object

Vyhledání TabPage v kolekci

Návraty

Int32

Index založený na nule, pokud je TabPage stránka v kolekci; jinak -1.

Implementuje

Poznámky

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

Platí pro