Skip to main content

TcxPropertiesStoreComponent.StoreToStream(TStream,Boolean) Method

Saves the current component’s properties to a stream.

Declaration

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