List.Count() Method

Version: Available or changed with runtime version 1.0.

Gets the number of elements contained in the List.

Syntax

Count :=   List.Count()

Note

This method can be invoked using property access syntax.

Parameters

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

Return Value

Count
 Type: Integer
The number of elements contained in the List.

See Also

List Data Type
Get Started with AL
Developing Extensions