[Overview][Types][Classes][Index] |
Saves the value for the collection item to the storage container for the collection.
Source position: propertystorage.pas line 53
public procedure TStoredValue.Save; virtual; |
Save is a method used to save the Value for the collection item to the storage container for the Collection.
Save signals the OnSave event handler (when assigned) to get the actual value for the collection item used in the operation. The value is converted to a String type when the Value property is stored as a Variant type.
The KeyString property contains the key used to XOR-encode the value stored in the method. XOR encoding is not performed when KeyString is an empty string ('').
Save uses the StoredValues collection to access the storage container where the value is written. The WriteString method in the TCustomPropertyStorage container is called to store a key/value pair using the Name for the collection item and its value.
Use Restore to load a collection item value from the storage container for the collection.
|
Event handler signalled when the collection item value is saved. |
|
|
The collection containing the collection item. |
|
|
Storage container used to Save and Restore the Values for the collection Items. |
Version 4.0 | Generated 2025-05-03 | Home |