Struct.fieldType Method [AX 2012]

Returns the data type of the item in the struct at the specified position.

public Types fieldType(int index)

Run On

Called

Parameters

index
Type: int
The position in the struct that you want to retrieve the data type for.

Return Value

Type: Types Enumeration
The data type of the item at the position specified by index.

The possible values are supplied by the system enum. If index is not found, the return value is Types::void. You can determine the position of a particular item in a struct by using the Struct.index method

Community Additions

ADD
Show: