Sign in Join
FPDoc Onlineexperiment

TIniCollectionItem.SaveToFile procedure

Member of TIniCollectionItempublicIn unit IniCol

Save item to a file.

Declaration

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

Arguments

FileName

Name of file to which the item should be saved.

Section

Section under which the item should be saved.

Description

SaveToFile creates an instance of TIniFile with the indicated FileName calls SaveToIni to save the item to the indicated file in .ini format under the section Section

Errors

An exception can occur if the file is not writeable.

See also

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