Struct.fieldType Method

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

Syntax

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.

Remarks

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

See Also

Struct Class

Struct.index Method

Struct.fieldName Method

Struct.fields Method