TStoredValues class
Implements a collection for TStoredValue collection items.
Declaration
TStoredValues = class(TOwnedCollection)Inheritance
- TStoredValues
TOwnedCollection
Description
TStoredValues is a
TOwnedCollection descendant which
implements an owned collection for
TStoredValue collection items.
TStoredValues provides properties and methods used to access the TStoredValue
collection items or their values. Use Items to read and write a
collection item by its ordinal position in the collection. Use
Values to read and write a collection item by its name. Use
StoredValue to read and write the value for a collection item by
its name.
The owner of the collection (passed as an argument to the constructor) is a
TCustomPropertyStorage instance stored in the Storage
property. It provides a container used to read and write name/value pairs
which represent the items in the collection. Use RestoreValues and
SaveValues methods to read and write the collection items using
the Storage container for the collection.
See also
Properties
Storage | public | Storage container used to Save and Restore the Values for the collection Items. |
Items | public | Provides indexed access to the TStoredValue collection items by their ordinal position. |
Values | public | Provides indexed access to a TStoredValue instance in the collection by its name. |
StoredValue | public | Provides indexed access to the value for a collection item with the specified name. |
Methods
Create | public | Constructor for the class instance. |
IndexOf | public | Gets the ordinal position in Items for the collection item with the specified name. |
SaveValues | public | Saves all of the collection items to the Storage container for the collection. |
RestoreValues | public | Loads all of the values for the collection Items from the Storage container for the collection. |
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
