Show: Delphi C++
Display Preferences

System.IniFiles.TMemIniFile.UpdateFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UpdateFile; override;

C++

virtual void __fastcall UpdateFile(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TMemIniFile

Description

Flushes buffered INI file data to disk.

Call UpdateFile to copy INI file data stored in memory to the copy of the INI file on disk UpdateFile overwrites all data in the disk copy of the INI file with the INI file data stored in memory.

If the Rename method is used to change the INI file the TMemIniFile uses, UpdateFile copies the INI file data in memory to a file of the new name. If the file does not already exist, it is created. If the new file already exists, it is overwritten.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance