OrderedDictionary<TKey,TValue>.ValueCollection.IList<TValue>.IndexOf Metodo

Definizione

Determina l'indice di un elemento specifico nel 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

Parametri

item
TValue

Oggetto da individuare nella IList<T>.

Restituisce

Indice di item se presente nell'elenco; in caso contrario, -1.

Implementazioni

Si applica a