ArraySegment<T>.IReadOnlyList<T>.Item[Int32] Propriedade

Definição

Obtém o elemento no índice especificado do segmento do array.

property T System::Collections::Generic::IReadOnlyList<T>::Item[int] { T get(int index); };
T System.Collections.Generic.IReadOnlyList<T>.Item[int index] { get; }
member this.System.Collections.Generic.IReadOnlyList<T>.Item(int) : 'T
 ReadOnly Property Item(index As Integer) As T Implements IReadOnlyList(Of T).Item

Parâmetros

index
Int32

O índice em base zero do elemento a obter.

Valor de Propriedade

T

O elemento no índice especificado.

Implementações

Exceções

index não é um índice válido no ArraySegment<T>.

O array subjacente é null.

A propriedade está definida.

Observações

Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a ArraySegment<T> instância é transmitida para uma IReadOnlyList<T> interface.

Aplica-se a