ArraySegment<T>.Item[Int32] Propiedad

Definición

Obtiene o establece el elemento en el índice especificado.

public:
 property T default[int] { T get(int index); void set(int index, T value); };
public T this[int index] { get; set; }
member this.Item(int) : 'T with get, set
Default Public Property Item(index As Integer) As T

Parámetros

index
Int32

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

Valor de propiedad

T

Elemento en el índice especificado.

Implementaciones

Excepciones

index no es un índice válido para ArraySegment<T>.

Se aplica a