ToolBar.ToolBarButtonCollection.IList.IndexOf(Object) Metoda

Definice

Určuje index konkrétní položky v kolekci.

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

Parametry

button
Object

Položka, která se má v kolekci najít.

Návraty

Int32

Index nalezených button v seznamu; jinak -1.

Implementuje

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze jej použít pouze v případech, kdy ToolBar.ToolBarButtonCollection je přetypován do IList rozhraní.

Platí pro