Array.IList.IndexOf(Object) Método

Definição

Determina o índice de um item específico no IList.

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

Parâmetros

value
Object

O objeto a ser localizado na lista atual.

Retornos

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

Implementações

Comentários

Esse membro é uma implementação de membro de interface explícita. Ele só pode ser usado quando a Array instância é convertida em uma IList interface.

Aplica-se a