ListView.ListViewItemCollection.IList.IndexOf(Object) Método
Definição
Retorna o índice na coleção do item especificado.Returns the index within the collection of the specified item.
virtual int System.Collections.IList.IndexOf(System::Object ^ item) = System::Collections::IList::IndexOf;
int IList.IndexOf (object item);
Function IndexOf (item As Object) As Integer Implements IList.IndexOf
Parâmetros
- item
- Object
Um ListViewItem que representa o item a ser localizado na coleção.A ListViewItem that represents the item to locate in the collection.
Retornos
O índice baseado em zero do item se ele estiver na coleção, caso contrário, -1.The zero-based index of the item if it is in the collection; otherwise, -1.