Sign in Join
FPDoc Onlineexperiment

TCustomIniFile.ReadSection procedure

Member of TCustomIniFilepublicIn unit IniFiles

Read the key names in a section.

Declaration

pascal
procedure ReadSection(const Section: string; Strings: TStrings)
 ; virtual; abstract

Arguments

Section

Section for which to read key names.

Strings

Stringlist to store key names in.

Description

ReadSection will return the names of the keys in section Section in Strings, one string per key. If a non-existing section is specified, the list is cleared. To return the values of the keys as well, the ReadSectionValues method should be used.

See also

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