DictFieldGroup.field Method
Returns the specified field from the field group.
Syntax
public FieldId field(int fieldNumber)
Run On
Called
Parameters
- fieldNumber
Type: int
The one-based index to the list of fields in the field group. The index is in the same order as the Microsoft Dynamics AX Application Object Tree (AOT).
Return Value
Type: FieldId Extended Data Type
The field ID of the field. If the item is a display method, the ID is in the form 65280 + 0-based method index.
Remarks
For a code example that uses the Field method, see the DictFieldGroup.numberOfFields Method method.