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

TJSONIniFile.DeleteKey

Removes a key from a section

Declaration

Source position: jsonini.pp line 77

public procedure TJSONIniFile.DeleteKey(

  const Section: string;

  const Ident: string

); override;

Arguments

Section

  

The section name containing the key to remove

Ident

  

The key name to remove

Description

DeleteKey removes the specified key from the specified section. If the section or key does not exist, the method has no effect. The file is automatically updated unless CacheUpdates is True.

See also

EraseSection

  

Removes an entire section from the JSON ini file


Documentation generated on: Jan 27 2026