Lenguaje

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

Definición

Determina el índice de un elemento específico de la colección.

 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

Elemento que se va a buscar en la colección.

Devoluciones

Índice de button si se encuentra en la lista; de lo contrario, -1.

Implementaciones

Comentarios

Este miembro es una implementación explícita de miembro de interfaz. Solo se puede usar cuando se convierte en ToolBar.ToolBarButtonCollection una IList interfaz.

Se aplica a