編輯

共用方式為


Span2D<T>.GetRowSpan(Int32) Method

Definition

Gets a Span<T> for a specified row.

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

Parameters

row
Int32

The index of the target row to retrieve.

Returns

Span<T>

The resulting row Span<T>.

Exceptions

Throw when row is out of range.

Applies to