CastArray2DTFrom, TToSlice(Int32) Method
Gets a new
CastArray2DTFrom, TTo instance, which represents a subrange of rows of the current instance starting with the specified
startRowIndex.
Please note that the size of
TTo multiplied by
Width must be divisible by the size of
TFrom.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public CastArray2D<TFrom, TTo> Slice(
int startRowIndex
)
Public Function Slice (
startRowIndex As Integer
) As CastArray2D(Of TFrom, TTo)
public:
CastArray2D<TFrom, TTo> Slice(
int startRowIndex
)
member Slice :
startRowIndex : int -> CastArray2D<'TFrom, 'TTo>
- startRowIndex Int32
- The offset that points to the first row of the returned CastArray2DTFrom, TTo.
CastArray2DTFrom,
TToThe subrange of rows of the current
CastArray2DTFrom, TTo instance starting with the specified
startRowIndex.