ReadOnlySpan2D<T>.GetRowSpan(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ReadOnlySpan<T>
The resulting row ReadOnlySpan<T>.
Exceptions
Throw when row
is out of range.