FormBuildControl.canAddDataField Method

Retrieves a value that indicates whether the specified data field can be added as a child control to the control.

Syntax

public boolean canAddDataField(
    int dataSourceId, 
    FieldId fieldId, 
   [int arrayIndex])

Run On

Called

Parameters

  • dataSourceId
    Type: int
    An integer value that indicates the ID of the data source that the data field is bound to.
  • arrayIndex
    Type: int
    An integer value that indicates the index of the data field type; optional.

Return Value

Type: boolean
A Boolean value that indicates whether the specified data field can be added as a child control to the control.

See Also

Reference

FormBuildControl Class