Unit 'inicol' Package
[Overview][Constants][Classes][Index] [#fcl]

TIniCollectionItem.SaveToFile

Save item to a file.

Declaration

Source position: inicol.pp line 39

public procedure TIniCollectionItem.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

SaveToIni

  

Method called when the item must be saved.

LoadFromFile

  

Load item from a file.


Documentation generated on: Nov 23 2024