IListContract<C>.IndexOf(C) Método
Definição
Retorna o índice de um elemento específico no IListContract<C>.Returns the index of a specific element in the IListContract<C>.
public:
int IndexOf(C item);
public int IndexOf (C item);
abstract member IndexOf : 'C -> int
Public Function IndexOf (item As C) As Integer
Parâmetros
- item
- C
O IContract a ser localizado no IListContract<C>.The IContract to locate in the IListContract<C>.
Retornos
O índice de item se encontrado na lista; caso contrário, -1.The index of item if found in the list; otherwise, -1.