Version.Major() Method

Version: Available or changed with runtime version 1.0.

Gets the major number of the version.

Syntax

MajorVersion :=   Version.Major()

Note

This method can be invoked using property access syntax.

Parameters

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

Return Value

MajorVersion
 Type: Integer
The major version number of the version.

Version Data Type
Get Started with AL
Developing Extensions