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

Definición

Obtiene el elemento en el índice especificado del segmento de matriz.

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

Índice de base cero del elemento que se va a obtener.

Valor de propiedad

T

Elemento en el índice especificado.

Implementaciones

Excepciones

indexno es un índice válido en .ArraySegment<T>

La matriz subyacente es null.

Se establece la propiedad .

Comentarios

Este miembro es una implementación explícita de miembro de interfaz. Solo se puede usar cuando la ArraySegment<T> instancia se convierte en una IReadOnlyList<T> interfaz.

Se aplica a