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



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

TCustomIniFile.SectionExists

Check if a section exists.

Declaration

Source position: inifiles.pp line 130

public function TCustomIniFile.SectionExists(

  const Section: String

):Boolean; virtual;

Arguments

Section

  

Name of the section

Function result

True if a section named Section exists and is non-empty.

Description

SectionExists returns True if a section with name Section exists, and contains keys. (comments are not considered keys)

See also

TCustomIniFile.ValueExists

  

Check if a value exists

Notes

 No notes exist for this page yet. 





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