Version.Create(Text) Method

Version: Available or changed with runtime version 1.0.

Creates a version object from the provided string. The string should be in the format W.X.Y.Z, where W, X, Y and Z represent positive integers and where Y and Z are optional. If the input string is not in the expected format, an exception is thrown.

Syntax

Value :=   Version.Create(Version: Text)

Parameters

Version
 Type: Text
The string to convert into a version object.

Return Value

Value
 Type: Version
The version created from the provided string.

See Also

Version Data Type
Get Started with AL
Developing Extensions