[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'LazConfigStorage' (#lazutils)

TConfigStorage.GetFullPathValue

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

Declaration

Source position: lazconfigstorage.pas line 33

protected function TConfigStorage.GetFullPathValue(

  const APath: string;

  const ADefault: string

):string; virtual; abstract;

function TConfigStorage.GetFullPathValue(

  const APath: string;

  ADefault: Integer

):Integer; virtual; abstract;

function TConfigStorage.GetFullPathValue(

  const APath: string;

  ADefault: Boolean

):Boolean; virtual; abstract;

Arguments

APath

  

Fully-qualified path to the value. Includes both the base path and the name for the item.

ADefault

  

Default value returned when APath is not found in the configuration storage.

Function result

Value in the configuration storage for the specified value type.

Arguments

APath

  

Fully-qualified path to the value. Includes both the base path and the name for the item.

ADefault

  

Default value returned when APath is not found in the configuration storage.

Arguments

APath

  

Fully-qualified path to the value. Includes both the base path and the name for the item.

ADefault

  

Default value returned when APath is not found in the configuration storage.

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.


Version 4.0 Generated 2025-05-03 Home