Skip to main content

TcxCustomDataController.SaveToStream(TStream) Method

Saves data provided by the current data controller to a stream.

Declaration

procedure SaveToStream(AStream: TStream);

Parameters

Name Type
AStream TStream

Remarks

The SaveToStream method allows you to save data from the current data controller to the stream specified by the AStream parameter. It saves the number of items, their data types, the number of records and all values.

You can restore data from a stream later using the LoadFromStream method.

LoadFromStream and SaveToStream can be used only in unbound mode.

See Also