編輯

共用方式為


Memory2D<T>.Item[Range, Range] Property

Definition

Slices the current instance with the specified parameters.

public Microsoft.Toolkit.HighPerformance.Memory2D<T> this[Range rows, Range columns] { get; }
member this.Item(Range * Range) : Microsoft.Toolkit.HighPerformance.Memory2D<'T>
Default Public ReadOnly Property Item(rows As Range, columns As Range) As Memory2D(Of T)

Parameters

rows
Range

The target range of rows to select.

columns
Range

The target range of columns to select.

Property Value

A new Memory2D<T> instance representing a slice of the current one.

Exceptions

Thrown when either rows or columns are invalid.

Applies to