FormBuildControl.addDataField Method

Definition

Overloads

addDataField(Int32, Int32)

Adds a control to the control, based on the specified data field information.

addDataField(Int32, Int32, Int32)

addDataField(Int32, Int32)

Adds a control to the control, based on the specified data field information.

public:
 virtual Dynamics::AX::Application::FormBuildControl ^ addDataField(int num1, int num2);
public virtual Dynamics.AX.Application.FormBuildControl addDataField (int num1, int num2);
abstract member addDataField : int * int -> Dynamics.AX.Application.FormBuildControl
override this.addDataField : int * int -> Dynamics.AX.Application.FormBuildControl
Public Overridable Function addDataField (num1 As Integer, num2 As Integer) As FormBuildControl

Parameters

num1
Int32
num2
Int32

Returns

A FormBuildControl object that represents the newly added control.

Remarks

The type of control that should be added is determined automatically, based on the specified data field information. The arrayIndex parameter has a default value of 1 when a value is not specified, so that the first index is assumed.

Applies to

addDataField(Int32, Int32, Int32)

public:
 virtual Dynamics::AX::Application::FormBuildControl ^ addDataField(int _dataSourceId, int _fieldId, int _arrayIndex);
public virtual Dynamics.AX.Application.FormBuildControl addDataField (int _dataSourceId, int _fieldId, int _arrayIndex);
abstract member addDataField : int * int * int -> Dynamics.AX.Application.FormBuildControl
override this.addDataField : int * int * int -> Dynamics.AX.Application.FormBuildControl
Public Overridable Function addDataField (_dataSourceId As Integer, _fieldId As Integer, _arrayIndex As Integer) As FormBuildControl

Parameters

_dataSourceId
Int32

An integer value that indicates the index of the data field type; optional.

_fieldId
Int32

An integer value that indicates the index of the data field type; optional.

_arrayIndex
Int32

An integer value that indicates the index of the data field type; optional.

Returns

Applies to