Sign in Join
FPDoc Onlineexperiment

TConfigStorage.GetFullPathValue function

Member of TConfigStorageprotectedIn unit LazConfigStorage

Specifies a method used to get a value or its default from the specified fully-qualified path.

Declaration

pascal
function GetFullPathValue(const APath: string; const ADefault: string)
: string; virtual; abstract
function GetFullPathValue(const APath: string; ADefault: Integer)
: Integer; virtual; abstract
function GetFullPathValue(const APath: string; ADefault: Boolean)
: Boolean; virtual; abstract

Description

Returns the value stored using the path and name in the APath argument. The value in ADefault is returned if APath is not found in the configuration storage. The overloaded variants allow the return and default values to be specified using String, Integer, or Boolean types.

GetFullPathValue is an abstract virtual method in TConfigStorage. It is implemented in a descendent class to use the storage mechanism for the class instance.

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