List.RemoveAt(Integer) Method

Version: Available or changed with runtime version 1.0.

Removes the element at the specified index of the List.

Syntax

[Ok := ]  List.RemoveAt(Index: Integer)

Parameters

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

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

Return Value

[Optional] Ok
 Type: Boolean
true if the index was within the valid range, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

See Also

List Data Type
Get Started with AL
Developing Extensions