Sign in Join
FPDoc Onlineexperiment

TMemIniFile.Rename procedure

Member of TMemIniFilepublicIn unit IniFiles

Rename the ini file.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.