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

# TPropertyStorageLink

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

Links a storage object to a property collection.

## Declaration

Source position: propertystorage.pas line 90

`type TPropertyStorageLink = class(TPersistent)`
`protected`
`procedure SaveProperties; virtual;` |  | Invokes the OnSave handler.
`procedure LoadProperties; virtual;` |  | Invokes the OnLoad handler.
`public`
`destructor Destroy; override;` |  | Destructor for the class instance.
`property Storage: TCustomPropertyStorage; [rw]` |  | Contains a reference to the storage contain used in the link.
`property RootSection: string; [r]` |  | Path to the root where values are stored in the Storage container.
`property OnSave: TNotifyEvent; [rw]` |  | Event handler signalled when all of the property values are stored.
`property OnLoad: TNotifyEvent; [rw]` |  | Event handler signalled when all of the property values are loaded.
`end;`

## Inheritance

`TPropertyStorageLink` |  | Links a storage object to a property collection.
`TPersistent`
?
`TObject`

## Description

TPropertyStorageLink is a TPersistent descendant which implements a class used to link a storage container to the collection and values read from and written to the storage. Not very useful by itself, Load/Save depends on installed handlers.