Span<T>.Item[Int32] Vlastnost

Definice

Gets the element at the specified zero-based index.Gets the element at the specified zero-based index.

public:
 property T % default[int] { T % get(int index); };
public T this[int index] { get; }
member this.Item(int) : 'T
Default Public ReadOnly Property Item(index As Integer) As T

Parametry

index
Int32

The zero-based index of the element.The zero-based index of the element.

Hodnota vlastnosti

T

Prvek na pozici zadaného indexu.The element at the specified index.

Výjimky

index is less than zero or greater than or equal to Length.index is less than zero or greater than or equal to Length.

Platí pro