Sign in Join
FPDoc Onlineexperiment

TCustomIniFile.SectionExists function

Member of TCustomIniFilepublicIn unit IniFiles

Check if a section exists.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.