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

TStoredValues.Items

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

Declaration

Source position: propertystorage.pas line 82

public property TStoredValues.Items[Index: Integer] : TStoredValue
  read GetItem
  write SetItem;
  default;

Description

Items is an indexed TStoredValue property with the items for the collection. It re-implements the internal list to use the TStoredValue type as the ItemClass for the collection.

Values in Items are accessed by their ordinal position in the list of collection items. The Read access specifier ensures that the inherited property value is cast to the TStoredValue type. The Write access specifier ensures that the property value is cast to the TCollectionItem type used in the inherited method.

Items is the default property for the class instance.

Use the Values and StoredValue properties to access a collection item by its name.


Version 4.0 Generated 2025-05-03 Home