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 localizar na coleção.

Devoluções

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

Implementações

Observações

Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando é ToolBar.ToolBarButtonCollection transmitido para uma IList interface.

Aplica-se a