ListItemCollection.IList.IndexOf(Object) Método

Definição

Para uma descrição deste elemento, veja IndexOf(Object).

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

Parâmetros

item
Object

O Object para localizar no IList.

Devoluções

O índice de value 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 a ListItemCollection instância é transmitida para uma IList interface.

Aplica-se a

Ver também