OrderedDictionary<TKey,TValue>.ValueCollection.IList<TValue>.IndexOf Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Determina o índice de um item específico no 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
O objeto a localizar no IList<T>.
Devoluções
O índice de item se for encontrado na lista; caso contrário, -1.