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

TStoredValues.Values

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

Declaration

Source position: propertystorage.pas line 83

public property TStoredValues.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

TStoredValues.Items

  

Provides indexed access to the TStoredValue collection items by their ordinal position.

TStoredValues.IndexOf

  

Gets the ordinal position in Items for the collection item with the specified name.

TStoredValues.StoredValue

  

Provides indexed access to the value for a collection item with the specified name.

TStoredValue.Assign

  

Copies property values from the specified persistent object into the current class instance.

TStoredValue.Name

  

The name for the collection item.


Version 4.0 Generated 2025-05-03 Home