Editar

Compartir vía


List.AddRange(T [, T,...]) Method

Version: Available or changed with runtime version 1.0.

Adds the elements of the specified collection to the end of the list.

Syntax

 List.AddRange(Value: T [, Values: T,...])

Parameters

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

Value
 Type: T
The value to be added to the end of the List.

[Optional] Values
 Type: T
The collection whose elements should be added to the end of the List.

Remarks

The type T is a dynamic type. When List is of type Text then T will change to Text. When List is of type Integer, then T will change to Integer.

List Data Type
Get Started with AL
Developing Extensions