help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TMemIniFile.Rename

Rename the ini file

Declaration

Source position: inifiles.pp line 195

public procedure TMemIniFile.Rename(

  const AFileName: String;

  Reload: Boolean

);

Arguments

AFileName

  

New filename

Reload

  

Load memory data from new file ?

Description

Rename will rename the ini file with the new name AFileName. If Reload is True then the in-memory contents will be cleared and replaced with the contents found in AFileName, if it exists. If Reload is False, the next call to UpdateFile will replace the contents of AFileName with the in-memory data.

See also

UpdateFile

  

Update the file on disk

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505