Edit

Share via


ReadOnlySpan2D<T>.GetRowSpan(Int32) Method

Definition

Gets a ReadOnlySpan<T> for a specified row.

public ReadOnlySpan<T> GetRowSpan (int row);
member this.GetRowSpan : int -> ReadOnlySpan<'T>
Public Function GetRowSpan (row As Integer) As ReadOnlySpan(Of T)

Parameters

row
Int32

The index of the target row to retrieve.

Returns

The resulting row ReadOnlySpan<T>.

Exceptions

Throw when row is out of range.

Applies to