[Overview][Constants][Classes][Index] | Reference for unit 'inicol' (#fcl)

# TIniCollection.Save

Save the collection to the default filename.

## Declaration

Source position: inicol.pp line 34

`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

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net .