Skip to content

TIniFile.EraseSection

Declaration

Source position: inifiles.pp line 260

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

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

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