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

# TCustomIniPropStorage.IniFileName

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

## Declaration

Source position: inipropstorage.pas line 47

`public property TCustomIniPropStorage.IniFileName : string read FIniFileName write FIniFileName;`

## Description

IniFileName is a String property with the qualified path and file name for the IniFile where session properties are stored in the class instance. Its value is used in the StorageNeeded method to determine the file name used when the TIniFile class instance is created and assigned to the IniFile property.

When omitted, a default value is assigned to the property which uses the path and base name for the application executable. For the Windows platform, the generated value in IniFileName has a '.INI' file extension. For UNIX-like platforms, the file is created as a config file in the home directory for the current user with a '.' prefix and no file extension.

## See also

TCustomIniPropStorage.IniFile |  | Provides access to the TCustomIniFile instance for the class.
TCustomIniPropStorage.StorageNeeded |  | Creates or recreates the underlying INI file storage for the class instance.