List.Get Method

Gets the element at the specified index. This method will raise an error if the index is outside the valid range.

Syntax

Result :=   List.Get(Index: Integer)

Parameters

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

Index
 Type: Integer
The one-based index of the element to get.

Return Value

Result
 Type: T
The element at the specified index.

See Also

List Data Type
Getting Started with AL
Developing Extensions