ArraySegment<T>.IList<T>.IndexOf(T) Método
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Determina o índice de um item específico no segmento de matriz.
virtual int System.Collections.Generic.IList<T>.IndexOf(T item) = System::Collections::Generic::IList<T>::IndexOf;
int IList<T>.IndexOf(T item);
abstract member System.Collections.Generic.IList<T>.IndexOf : 'T -> int
override this.System.Collections.Generic.IList<T>.IndexOf : 'T -> int
Function IndexOf (item As T) As Integer Implements IList(Of T).IndexOf
- item
- T
O objeto a localizar no segmento de matriz.
O índice de item
se encontrado na lista; caso contrário, -1.
A matriz subjacente é null
.
Este membro é uma implementação do membro de interface explícita. Ele só pode ser usado quando a instância de ArraySegment<T> é convertida em uma interface de IList<T>.
Produto | Versões |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: