TestField.OptionCount() Method

Version: Available or changed with runtime version 1.0.

Gets the number of options in a field on a test page.

Syntax

Result :=   TestField.OptionCount()

Parameters

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

Return Value

Result
 Type: Integer
The number of options in a field on a test page.

See Also

TestField Data Type
Get Started with AL
Developing Extensions