Sign in Join
FPDoc Onlineexperiment

TStoredValues.Items property

Member of TStoredValuespublicIn unit PropertyStorage

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

Declaration

pascal
property 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.