From RAD Studio API Documentation
Jump to: navigation, search



TCustomIniFile = class(TObject)


class PASCALIMPLEMENTATION TCustomIniFile : public System::TObject


Type Visibility Source Unit Parent
class public
System.IniFiles System.IniFiles


TCustomIniFile is the base class for components that encapsulate access to .ini files and the Windows system registry.

Note: Use TCustomIniFile as a base class when defining components that access ini files. Ini files are text files that are divided into sections with variable assignments in each section. TCustomIniFile introduces properties and methods to handle storage and retrieval of application-specific information and settings in a standard ini file.

Note: On Windows, TCustomIniFile is also the base class for TRegistryIniFile, which allows applications that use both ini files and the system registry to handle both media in a unified manner. This differs from the features of TRegistry, which corresponds more directly to Windows system registry native semantics.

Do not create instances of TCustomIniFile. Instead, use or create descendants of TCustomIniFile, such as TIniFile, TRegistryIniFile, and TMemIniFile.

See Also

Code Examples