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

TMemIniFile.Rename

Rename the ini file

Declaration

Source position: inifiles.pp line 218

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


Documentation generated on: Nov 14 2015