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

Definición

Determina el índice de un elemento específico en .IList<T>

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

Parámetros

item
TValue

Objeto que se va a buscar en .IList<T>

Devoluciones

Índice de item si se encuentra en la lista; de lo contrario, -1.

Implementaciones

Se aplica a