Save collection to a file in .ini file format.
Source position: inicol.pp line 55
public procedure TIniCollection.SaveToFile( |
const AFileName: string; |
const Section: string |
); |
AFileName |
|
File to save collection to. |
Section |
|
Section name for global section. |
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.
An exception may be raised if the path in AFileName does not exist.
|
Save the collection to a TCustomIniFile descendent. |
|
|
Load collection from file. |