[Overview][Types][Classes][Index] |
Update the file on disk
Source position: inifiles.pp line 226
public procedure TIniFile.UpdateFile; override; |
UpdateFile writes the in-memory data for the ini file to disk. The whole file is written. If the ini file was instantiated from a stream, then the stream is updated. Note that the stream must be seekable for this to work correctly. The ini file is marked as 'clean' after a call to UpdateFile (i.e. not in need of writing to disk).
If an error occurs when writing to stream or disk, an exception may be raised.
|
Should changes be kept in memory |