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

TConfigMemStorage.GetFullPathValue

Gets the value from the specified node path with an optional default value when not found.

Declaration

Source position: lazconfigstorage.pas line 120

protected function TConfigMemStorage.GetFullPathValue(

  const APath: string;

  const ADefault: string

):string; override;

function TConfigMemStorage.GetFullPathValue(

  const APath: string;

  ADefault: Boolean

):Boolean; override;

function TConfigMemStorage.GetFullPathValue(

  const APath: string;

  ADefault: Integer

):Integer; override;

Arguments

APath

  

Path to the node where the value is stored.

ADefault

  

Default value returned when the specified node path is not found in the storage.

Function result

Value stored in the specified node path.

Arguments

APath

  

Path to the node where the value is stored.

ADefault

  

Default value returned when the specified node path is not found in the storage.

Arguments

APath

  

Path to the node where the value is stored.

ADefault

  

Default value returned when the specified node path is not found in the storage.

Description

GetFullPathValue is an overloaded method in TConfigMemStorage. It implements the abstract virtual methods defined in the TConfigStorage ancestor. The variants allow the value in ADefault to specified as either a String, Integer, or Boolean type. Please note that TRect and TPoint are not handled in TConfigMemStorage.


Version 4.0 Generated 2025-05-03 Home