Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDataController.SaveToStream(TStream) Method

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

#Declaration

Delphi
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