Sign in Join
FPDoc Onlineexperiment

TConfigMemStorage.SetDeleteFullPathValue procedure

Member of TConfigMemStorageprotectedIn unit LazConfigStorage

Implements the method used to delete the specified node path or to reset it to a default value.

Declaration

pascal
procedure SetDeleteFullPathValue(const APath: string; 
 const AValue: string; 
 const DefValue: string); override
procedure SetDeleteFullPathValue(const APath: string; AValue: Boolean; 
 DefValue: Boolean); override
procedure SetDeleteFullPathValue(const APath: string; AValue: Integer; 
 DefValue: Integer); override

Description

SetDeleteFullPathValue is an overloaded overridden method in TConfigMemStorage. Overloaded variants of the method allow the AValue and DefValue arguments to be passed as either String, Integer, or Boolean types. Both arguments must use the same type. The arguments determine whether the node is removed or updated with a default value in the storage mechanism. When both arguments have the same value, the node at APath is deleted from the storage. Otherwise, the value in DefValue is stored for the specified node.

SetDeleteFullPathValue is called from the SetDeleteValue method after ExtendPath has been called to include the CurrentBasePath value at the start of the node path in APath.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.