Share via


Struct.fieldType(Int32) Method

Definition

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

public:
 virtual Microsoft::Dynamics::Ax::Xpp::Types fieldType(int _index);
public virtual Microsoft.Dynamics.Ax.Xpp.Types fieldType (int _index);
abstract member fieldType : int -> Microsoft.Dynamics.Ax.Xpp.Types
override this.fieldType : int -> Microsoft.Dynamics.Ax.Xpp.Types
Public Overridable Function fieldType (_index As Integer) As Types

Parameters

_index
Int32

The position in the struct that you want to retrieve the data type for.

Returns

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

Applies to