ReadOnlyMemory2D<T>.Item[Range, Range] Property
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.
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.