Sign in Join
FPDoc Onlineexperiment

TCustomIniPropStorage.FreeStorage procedure

Member of TCustomIniPropStoragepublicIn unit IniPropStorage

Frees the underlying INI file storage object for the class instance.

Declaration

pascal
procedure FreeStorage; override

Description

FreeStorage is an overridden method in TCustomIniPropStorage. It reimplements the virtual method from the TCustomPropertyStorage ancestor. FreeStorage ensures that resources allocated to the IniFile property (in StorageNeeded) are freed when the storage object is no longer needed.

FreeStorage is called from methods that include: Save, Restore, SaveProperties, RestoreProperties, ReadString, WriteString, ReadInteger, WriteInteger, and EraseSection.

Use IniFile to access properties and methods in the INI storage mechanism.

Use IniFileName to specify the qualified path including file name for the INI file storage.

Use Active to control whether access using the IniFile storage object is enabled.

See also

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