 | ReadOnlyMemoryTSlice(Int32, Int32) Method |
Forms a slice of the specified length starting at the specified index.
Namespace: SystemAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntaxpublic ReadOnlyMemory<T> Slice(
int start,
int length
)
Public Function Slice (
start As Integer,
length As Integer
) As ReadOnlyMemory(Of T)
Parameters
- start Int32
- The zero-based index at which the slice begins
- length Int32
- The number of elements in the slice
Return Value
ReadOnlyMemoryTA memory containing
length elements starting at
start
Exceptions
See Also