[Overview][Types][Classes][Index] | Reference for unit 'PropertyStorage' (#lcl)

# TStoredValues.SaveValues

Saves all of the collection items to the Storage container for the collection.

## Declaration

Source position: propertystorage.pas line 79

`public procedure TStoredValues.SaveValues; virtual;`

## Description

SaveValues is a method used to save all of the collection Items to the Storage container for the collection. It iterates over the values in Items and calls the Save method for each of the TStoredValue instances. See TStoredValue.Save for more details.

Use RestoreValues to load the values for the collection items from the Storage container.

## See also

TStoredValues.Items |  | Provides indexed access to the TStoredValue collection items by their ordinal position.
TStoredValues.Storage |  | Storage container used to Save and Restore the Values for the collection Items.
TStoredValues.RestoreValues |  | Loads all of the values for the collection Items from the Storage container for the collection.
TStoredValue.Save |  | Saves the value for the collection item to the storage container for the collection.