Share via


DictField.new Method

Initializes a new instance of the Object class.

Syntax

public void new(
    TableId tableId, 
    FieldId fieldId, 
   [int arrayIndex])

Run On

Called

Parameters

  • arrayIndex
    Type: int

Examples

The following example shows how to create an instance of the DictField class.

DictField df; 
 
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum)); 
 
// Check df for successful creation before proceeding. 
if (!df) 
{ 
// Take error action. 
}

See Also

DictField Class

DictTable Class