Edytuj

Udostępnij za pośrednictwem


Span2D<T>.Item[Int32, Int32] Property

Definition

Gets the element at the specified zero-based indices.

public ref T this[int row, int column] { get; }
member this.Item(int * int) : 'T
Default Public ReadOnly Property Item(row As Integer, column As Integer) As T

Parameters

row
Int32

The target row to get the element from.

column
Int32

The target column to get the element from.

Property Value

T

A reference to the element at the specified indices.

Exceptions

Thrown when either row or column are invalid.

Applies to