| [Overview][Classes][Procedures and functions][Index] |
Gets the value from the DOM node at the specified path in the XML configuration file.
Source position: laz2_xmlcfg.pas line 105
public function TXMLConfig.GetValue( |
const APath: string; |
const ADefault: string |
):string; |
const APath: string; |
ADefault: Integer |
):Integer; |
const APath: string; |
ADefault: Int64 |
):Int64; |
const APath: string; |
ADefault: Boolean |
):Boolean; |
const APath: string; |
out ARect: TRect; |
const ADefault: TRect |
); |
APath |
|
Path to locate in the Document. |
ADefault |
|
Default value used when the DOM node has no content. |
Value for the Node at the specified path.
APath |
|
Path to locate in the Document. |
ADefault |
|
Default value used when the DOM node has no content. |
APath |
|
Path to locate in the Document. |
ADefault |
|
Default value used when the DOM node has no content. |
APath |
|
Path to locate in the Document. |
ADefault |
|
Default value used when the DOM node has no content. |
APath |
|
Path to locate in the Document. |
ARect |
|
TRect with the value for the DOM node. |
ADefault |
|
Default value used when the DOM node has no content. |
GetValue is an overloaded function used to get the value stored in a DOM node at the path specified in APath. Overloaded variants are provided to return String, Integer, Int64, Boolean, and TRect data types.
APath contain the path specifier that represents the hierarchy of elements and attributes in Document where the value is stored. See TXMLConfig Path Syntax for details about path specifiers.
ADefault contains the default value returned when the DOM node does not have any content representing a value.
ARect is the TRect output parameter used to return the value in the overloaded method.
Use GetExtendedValue to get the value for a DOM node as an Extended (or Float) data type.
|
Gets the value for a DOM node at the specified path as an extended data type. |
|
|
XML document used for the class instance. |
|
|
TXMLConfig Path Syntax. |