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

TStoredValues

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A collection of property name/value pairs.

Declaration

Source position: propertystorage.pas line 67

type TStoredValues = class(TOwnedCollection) end;

public

  constructor Create();

  function IndexOf();

  

Given the name of a property, returns the index of the Item object.

  procedure SaveValues; virtual;

  

Saves all Items into Storage.

  procedure RestoreValues; virtual;

  

Loads all existing Items from Storage.

  property Storage: TCustomPropertyStorage; [rw]

  

The virtual storage object, used to Save and Restore the Values.

  property Items []: TStoredValue; default; [rw]

  

The indexed list of all key/value pairs.

  property Values []: TStoredValue; [rw]

  

The list of key/value pairs, accessible by their key names.

  property StoredValue []: TStoredType; [rw]

  

Retrieves the value for an given key name.

Inheritance

TStoredValues

  

A collection of property name/value pairs.

|

TOwnedCollection

?

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.