OrderedDictionary<TKey,TValue>.KeyCollection.IList<TKey>.IndexOf Método

Definição

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

 virtual int System.Collections.Generic.IList<TKey>.IndexOf(TKey item) = System::Collections::Generic::IList<TKey>::IndexOf;
int IList<TKey>.IndexOf (TKey item);
abstract member System.Collections.Generic.IList<TKey>.IndexOf : 'Key -> int
override this.System.Collections.Generic.IList<TKey>.IndexOf : 'Key -> int
Function IndexOf (item As TKey) As Integer Implements IList(Of TKey).IndexOf

Parâmetros

item
TKey

O objeto a ser localizado no IList<T>.

Retornos

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

Implementações

Aplica-se a