List.GetRange Method

Get a shallow copy of a range of elements in the source.

Syntax

Result :=   List.GetRange(Index: Integer, Count: Integer)

Parameters

List
 Type: List
An instance of the List data type.

Index
 Type: Integer
The one-based List index at which the range starts.

Count
 Type: Integer
The number of elements in the range.

Return Value

Result
 Type: List of [T]
A shallow copy of a range of elements in the source List.

See Also

List Data Type
Getting Started with AL
Developing Extensions