MethodInfo.varId Method [AX 2012]

Specifies the ID for certain variable data types, such as extended data types and enums, for a method that contains variables.

public int varId(int variableNumber)

Run On

Called

Parameters

variableNumber
Type: int
An integer value that specifies a method variable based on the order of the variables listed in the method.

Return Value

Type: int
An integer value that indicates the variable data type ID.

The return value is 0 if the data type does not have an ID or if a method does not have variables.

Community Additions

ADD
Show: