Unit 'JsonIni' Package
[Overview][Classes][Index] [#fcl]

TJSONIniFile.EraseSection

Removes an entire section from the JSON ini file

Declaration

Source position: jsonini.pp line 76

public procedure TJSONIniFile.EraseSection(

  const Section: string

); override;

Arguments

Section

  

The section name to remove

Description

EraseSection removes the specified section and all its key-value pairs from the JSON ini file. If the section does not exist, the method has no effect. The file is automatically updated unless CacheUpdates is True.

See also

DeleteKey

  

Removes a key from a section


Documentation generated on: Jan 27 2026