ReadOnlySpan2D<T>.GetRow(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 an enumerable that traverses items in a specified row.
public Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlyRefEnumerable<T> GetRow (int row);
member this.GetRow : int -> Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlyRefEnumerable<'T>
Public Function GetRow (row As Integer) As ReadOnlyRefEnumerable(Of T)
Parameters
- row
- Int32
The target row to enumerate within the current ReadOnlySpan2D<T> instance.
Returns
A ReadOnlyRefEnumerable<T> with target items to enumerate.
Remarks
The returned ReadOnlyRefEnumerable<T> value shouldn't be used directly: use this extension in a foreach
loop.