Skip to content

TIniCollection.Save

Save the collection to the default filename.

Declaration

Source position: inicol.pp line 53

public 
procedure TIniCollection.Save;

Description

Save writes the collection to the file as specified in the FileName property, using GlobalSection as the section. It calls the SaveToFile method to do this.

Errors

If the collection was not loaded or saved to file before this call, an EIniCol exception will be raised.

See also

Name Description
TIniCollection.SaveToFile Save collection to a file in .ini file format.
TIniCollection.SaveToIni Save the collection to a TCustomIniFile descendent.
TIniCollection.Load Loads the collection from the default filename.
FileName Filename of the collection.