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

TcxPropertiesStoreComponent.StoreToStream(TStream,Boolean) Method

Saves the current component’s properties to a stream.

#Declaration

Delphi
procedure StoreToStream(const AStream: TStream; const AReCreate: Boolean);

#Parameters

Name Type
AStream TStream
AReCreate Boolean

#Remarks

Use this method to save the properties of the component specified by the Component property to a stream (a TStream descendant). The properties to store are specified by the Properties list.

You can call the StoreToStream method even if the StorageType of the current TcxPropertiesStore instance is not set to stStream.

The AStream parameter identifies the TStream descendant used as the storage. The AReCreate parameter determines whether the storage stream is destroyed and created again with each call to this method. If this parameter value is False, information is appended to the end of the existing storage.

See Also