JVCL Help:TJvRegistryTreeView.LoadKey
JVCL Help: TJvRegistryTreeView.LoadKey Method
Search in JVCL Help
Search in all projectsSummary
Creates a subkey under the root key and loads registry information from a file into the newly created subkey.
Pascal
functionLoadKey(constFilename: string): Boolean;
Parameters
Parameters | Description |
const Filename: string | The location of the file containing registry information to store in the subkey. The file specified by FileName must be one previously created using the SaveKey function or the RegSaveKey Windows API function. On systems that use a file allocation table (FAT), FileName cannot include an extension. |
Return Value
Returns true if the data was successfully loaded.
Description
Call LoadKey to:
- Create a new subkey under the root key, and 2. Load registry information from a file into thesubkey.
Registry information can include data values, subkeys, and data values for those subkeys.
LoadKey is intended to simplify creation of a key, its values and subkeys, and the values for those subkeys in a single operation. A key, its subkeys, and all data values of the key and its subkeys is called a hive. Rather than creating each key and value separately, an application can read a hive from a file. This is especially useful for applications that users can reconfigure at run time.
See Also
About
Notes
The key to load data into is determined by the CurrentKey property.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page