TStoredValue.Save procedure
Saves the value for the collection item to the storage container for the collection.
Declaration
procedure Save; virtualDescription
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
