Edit

Share via


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

Definition

Slices the current instance with the specified parameters.

public Microsoft.Toolkit.HighPerformance.ReadOnlyMemory2D<T> this[Range rows, Range columns] { get; }
member this.Item(Range * Range) : Microsoft.Toolkit.HighPerformance.ReadOnlyMemory2D<'T>
Default Public ReadOnly Property Item(rows As Range, columns As Range) As ReadOnlyMemory2D(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 ReadOnlyMemory2D<T> instance representing a slice of the current one.

Exceptions

Thrown when either rows or columns are invalid.

Applies to