Sign in Join
FPDoc Onlineexperiment

TIniCollectionItem.SaveToIni procedure

Member of TIniCollectionItempublicIn unit IniCol

Method called when the item must be saved.

Declaration

pascal
procedure SaveToIni(Ini: TCustomInifile; Section: string); virtual
 ; abstract

Arguments

IniTCustomIniFile instance to which the item should be saved.
Section

Section under which data should be saved.

Description

SaveToIni is called by SaveToIni when it saves this item. Descendent classes should override this method to save the data they need to save. All write methods of the TCustomIniFile instance passed in Ini can be used, as long as the writing happens in the section passed in Section.

Errors

No checking is done to see whether the values are actually written to the correct section.

See also

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