ReadOnlySpan2D<T>.GetColumn(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 column.
public Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlyRefEnumerable<T> GetColumn (int column);
member this.GetColumn : int -> Microsoft.Toolkit.HighPerformance.Enumerables.ReadOnlyRefEnumerable<'T>
Public Function GetColumn (column As Integer) As ReadOnlyRefEnumerable(Of T)
Parameters
- column
- Int32
The target column 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.