Sign in Join
FPDoc Onlineexperiment

TIniCollection.SaveToFile procedure

Member of TIniCollectionpublicIn unit IniCol

Save collection to a file in .ini file format.

Declaration

pascal
procedure SaveToFile(const AFileName: string; const Section: string)

Arguments

AFileName

File to save collection to.

Section

Section name for global section.

Description

SaveToFile will create a TMemIniFile instance with the AFileName argument as a filename. This instance is passed on to the SaveToIni method, together with the Section argument, to do the actual saving.

Errors

An exception may be raised if the path in AFileName does not exist.

See also

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