[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Stores a value at the specified path in the configuration storage.
Source position: lazconfigstorage.pas line 63
public procedure TConfigStorage.SetValue( |
const APath: string; |
const AValue: string |
); |
const APath: string; |
AValue: Integer |
); |
const APath: string; |
AValue: Boolean |
); |
const APath: string; |
const AValue: TRect |
); |
const APath: string; |
const AValue: TPoint |
); |
const APath: string; |
const AValue: TStrings |
); |
APath |
|
Node path (relative to CurrentBasePath) where the specified value is stored. |
AValue |
|
Value stored for the specified node path. |
APath |
|
Node path (relative to CurrentBasePath) where the specified value is stored. |
AValue |
|
Value stored for the specified node path. |
APath |
|
Node path (relative to CurrentBasePath) where the specified value is stored. |
AValue |
|
Value stored for the specified node path. |
APath |
|
Node path (relative to CurrentBasePath) where the specified value is stored. |
AValue |
|
Value stored for the specified node path. |
APath |
|
Node path (relative to CurrentBasePath) where the specified value is stored. |
AValue |
|
Value stored for the specified node path. |
APath |
|
Node path (relative to CurrentBasePath) where the specified value is stored. |
AValue |
|
Value stored for the specified node path. |
SetValue is an overloaded method in TConfigStorage used to store the value specified in the AValue argument to the node path in APath. The overloaded variants allow AValue to be specified using String, Integer, Boolean, TRect, or TPoint types.
APath contains the node path where the value is stored in the storage mechanism. SetValue calls the ExtendPath method to include the value in CurrentBasePath prior to the specified node path.
The SetFullPathValue method is called to store AValue to the underlying storage mechanism. Overloads for TRect and TPoint are decomposed and stored as the members values for the types. For TRect: Left, Top, Right, and Bottom are stored. For TPoint: X and Y are stored.
Use GetValue to read a stored value for a specified node path.
Version 4.0 | Generated 2025-05-03 | Home |