Sign in Join
FPDoc Onlineexperiment

TStoredValues.Values property

Member of TStoredValuespublicIn unit PropertyStorage

Provides indexed access to a TStoredValue instance in the collection by its name.

Declaration

pascal
property Values[Name: string]: TStoredValue read GetValue write SetValue;

Description

Values is an indexed TStoredValue property which provides access to a collection item with the name specified in the Name argument. The IndexOf method is called to locate the entry in Items matching the specified Name. The property value is Nil if Items does not contain a TStoredValue instance with the value in Name.

When saving a new value for the property, the Assign method in the collection item is called to update the property values for the TStoredValue instance.

Use the StoredValue property to access the String or Variant value for the collection item by its name.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.