help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TCustomIniFile.EraseSection

Clear a section

Declaration

Source position: inifiles.pp line 150

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505