Unit 'IniFiles' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TCustomIniFile.EraseSection

Clear a section.

Declaration

Source position: inifiles.pp line 204

public procedure TCustomIniFile.EraseSection(

  const Section: string

); virtual; abstract;

Arguments

Section

  

Name of section to erase.

Description

EraseSection deletes all values from the section named Section and removes the section from the ini file. If the section didn't exist prior to a call to EraseSection, nothing happens.

See also

SectionExists

  

Check if a section exists.

ReadSections

  

Read the list of sections.

DeleteKey

  

Delete a key from a section.


Documentation generated on: Dec 27 2024