Add function of TObjectSet

class
TObjectSet

Syntax

Adds the specified data object.
public function Add ( ADataObject: TDataObjectBase ) : Integer;