Sign in Join
FPDoc Onlineexperiment

TCustomIniFile.ValueExists function

Member of TCustomIniFilepublicIn unit IniFiles

Check if a value exists.

Declaration

pascal
function ValueExists(const Section: string; const Ident: string)
: Boolean; virtual

Arguments

Section

Section in which to look for Ident.

Ident

Key name to look for.

Function result

True if Ident exists in section Section.

Description

ValueExists checks whether the key Ident exists in section Section. It returns True if a key was found, or False if not. The key may be empty.

See also

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