ToolBar.ToolBarButtonCollection.IList.IndexOf(Object) Método

Definição

Determina o índice de um item específico na coleção.

 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

Parâmetros

button
Object

O item a ser localizado na coleção.

Retornos

Int32

O índice de button se encontrado na lista; caso contrário, -1.

Implementações

Comentários

Este membro é uma implementação do membro de interface explícita. Ela só pode ser usada quando a ToolBar.ToolBarButtonCollection conversão é convertida em uma IList interface.

Aplica-se a