System.IniFiles.TIniFile

From RAD Studio API Documentation
Jump to: navigation, search

System.IniFiles.TCustomIniFileSystem.TObjectTIniFile

Delphi

TIniFile = class(TCustomIniFile)

C++

class PASCALIMPLEMENTATION TIniFile : public TCustomIniFile

Properties

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

Description

TIniFile stores and retrieves application-specific information and settings from INI files.

TIniFile enables handling the storage and retrieval of application-specific information and settings in a standard INI file. An INI file stores information in logical groupings, called "sections". Within each section, actual data values are stored in named keys. Keys take the form:

<keyname> = <value>

A FileName is passed to the TIniFile constructor and identifies the INI file that the object accesses.

Note: On Windows, a related object, TMemIniFile, works the same way as TIniFile, but the buffer writes in memory to minimize disk access.

See Also

Code Examples