Bearbeiten

Freigeben über


ReadOnlySpan2D<T>.GetColumn(Int32) Method

Definition

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.

Applies to