[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'IniPropStorage' (#lcl)

TCustomIniPropStorage.FreeStorage

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

Declaration

Source position: inipropstorage.pas line 42

public procedure TCustomIniPropStorage.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

TCustomIniPropStorage.StorageNeeded

  

Creates or recreates the underlying INI file storage for the class instance.

TCustomIniPropStorage.IniFile

  

Provides access to the TCustomIniFile instance for the class.

TCustomIniPropStorage.IniFileName

  

Name of the INI file where the session properties are saved in INI format.

TCustomPropertyStorage.Active

  

Indicates whether the container is Active and allows access to its storage.

TCustomPropertyStorage.FreeStorage

  

Frees resources allocated for the underlying storage mechanism.


Version 4.0 Generated 2025-05-03 Home