[Overview][Types][Classes][Index] | Reference for unit 'IniFiles' (#fcl)

# TIniFile.EraseSection

## Declaration

Source position: inifiles.pp line 244

`public procedure TIniFile.EraseSection(`
`const Section: string`
`); override;`

## Arguments

`Section` |  | Section to erase

## Description

Erasesection deletes the section Section from memory, if CacheUpdates is False, then the file is immediately updated on disk. This method is the implementation of the abstract TCustomIniFile.EraseSection method.

## See also

TCustomIniFile.EraseSection |  | Clear a section
TIniFile.ReadSection |  | Read the key names in a section
TIniFile.ReadSections |  | Read section names

Documentation generated on: May 14 2021