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

# TCustomIniPropStorage.IniFile

Provides access to the TCustomIniFile instance for the class.

## Declaration

Source position: inipropstorage.pas line 39

`protected property TCustomIniPropStorage.IniFile : TCustomIniFile read FIniFile;`

## Description

IniFile is a read-only TCustomIniFile property which provides access to properties and methods in the underlying INI file used to store values for session properties. The property is used in the implementation of methods which read or write values using the section, identifier, and value for the session properties.

IniFile is (re)allocated (as needed) at run-time in the StorageNeeded method. It is not (re)created at design-time. IniFile is freed (when needed) in the FreeStorage method.

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

## See also

TCustomIniPropStorage.DoReadString |  | Performs actions needed to reading the specified value from the INI storage as a string type.
TCustomIniPropStorage.DoWriteString |  | Performs actions needed to write the specified value to the INI storage using a string type.
TIniFileClass |  | Class of TCustomIniFile.
TCustomIniFile