Skip to content

TCustomIniFile.SectionExists

Check if a section exists.

Declaration

Source position: inifiles.pp line 182

public 
function TCustomIniFile.SectionExists(const Section: string) : Boolean
                                     ;  virtual;

Description

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

See also

Name Description
TCustomIniFile.ValueExists Check if a value exists.