[Overview][Classes][Procedures and functions][Index] |
Updates or removes the value stored at the specified path.
Source position: laz2_xmlcfg.pas line 119
public procedure TXMLConfig.SetDeleteValue( |
const APath: string; |
const AValue: string; |
const DefValue: string |
); |
const APath: string; |
AValue: Int64; |
DefValue: Int64 |
); |
const APath: string; |
AValue: Boolean; |
DefValue: Boolean |
); |
const APath: string; |
const AValue: TRect; |
const DefValue: TRect |
); |
const APath: string; |
const AValue; |
const DefValue; |
const APTypeInfo: PTypeInfo |
); |
const APath: string; |
const AValue; |
DefValue: Int64; |
const APTypeInfo: PTypeInfo |
); |
const APath: string; |
const AValue; |
const APTypeInfo: PTypeInfo |
); |
APath |
|
Path specifier for the value affected in the method. |
AValue |
|
Value to store at the specified path. |
DefValue |
|
Value which indicates the path should be removed instead of updated. |
APath |
|
Path specifier for the value affected in the method. |
AValue |
|
Value to store at the specified path. |
DefValue |
|
Value which indicates the path should be removed instead of updated. |
APath |
|
Path specifier for the value affected in the method. |
AValue |
|
Value to store at the specified path. |
DefValue |
|
Value which indicates the path should be removed instead of updated. |
APath |
|
Path specifier for the value affected in the method. |
AValue |
|
Value to store at the specified path. |
DefValue |
|
Value which indicates the path should be removed instead of updated. |
APath |
|
Path specifier for the value affected in the method. |
AValue |
|
Value to store at the specified path. |
DefValue |
|
Value which indicates the path should be removed instead of updated. |
APTypeInfo |
|
Pointer to the RTTI type information for the value / default value. |
APath |
|
Path specifier for the value affected in the method. |
AValue |
|
Value to store at the specified path. |
DefValue |
|
Value which indicates the path should be removed instead of updated. |
APTypeInfo |
|
Pointer to the RTTI type information for the value / default value. |
APath |
|
Path specifier for the value affected in the method. |
AValue |
|
Value to store at the specified path. |
APTypeInfo |
|
Pointer to the RTTI type information for the value / default value. |
SetDeleteValue is an overloaded method used to update or remove the node at the path specified in APath. The AValue and DefValue arguments determine whether the node is updated, or removed by calling DeleteValue. When AValue and DefValue are equal, this indicates the node has the default or unassigned value; DeleteValue is called to remove the node at APath. Otherwise, SetValue is called to store AValue to the specified node path.
The overloaded variants allow the AValue and DefValue arguments to contain various data types including: String, Int64, Boolean, TRect, or untyped constants.
|
Updates or removes the Extended value at the specified path. |
|
|
Deletes the value stored in the DOM node at the specified path. |
|
|
Gets the value from the DOM node at the specified path in the XML configuration file. |
Version 4.0 | Generated 2025-05-03 | Home |