[Overview][Types][Classes][Index] | Reference for unit 'IniFiles' (#fcl)

# TMemIniFile

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Inifile cached in memory

## Declaration

Source position: inifiles.pp line 254

`type TMemIniFile = class(TIniFile)`
`public`
`constructor Create();` |  | Create a new instance of TMemIniFile
`procedure Clear;` |  | Clear the data
`procedure GetStrings();` |  | Get contents of ini file as stringlist
`procedure Rename();` |  | Rename the ini file
`procedure SetStrings();` |  | Set data from a stringlist
`end;`

## Inheritance

`TMemIniFile` |  | Inifile cached in memory
`TIniFile` |  | Ini file implementation
`TCustomIniFile` |  | Abstract ini file object
`TObject`

## Description

TMemIniFile is a simple descendent of TIniFile which introduces some extra methods to be compatible to the Delphi implementation of TMemIniFile. The FPC implementation of TIniFile is implemented as a TMemIniFile, except that TIniFile does not cache its updates, and TMemIniFile does.

## See also

TIniFile |  | Ini file implementation
TCustomIniFile |  | Abstract ini file object
CacheUpdates |  | Should changes be kept in memory

Documentation generated on: May 14 2021