JVCL Help:TJvRegistryTreeView.SaveKey

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Opens the specified key with the security access value KEY_ALL_ACCESS and saves the specified key and all of its subkeys and values to a hive file.


Pascal

 functionSaveKey(constFilename: string): Boolean;


Parameters

Parameters Description
const Filename: string The file into which to save the key information. It must be the name of a new file that does not already exist. On FAT file systems FileName cannot include an extension.


Return Value

If SaveKey is successful it returns True.


Description

Call SaveKey to open a key with a security access value of KEY_ALL_ACCESS, and save the key and its subkeys and data values to a hive file. A hive is a discrete collection of keys, subkeys, and values that is rooted at the top of the registry hierarchy.
The key to save is read from the CurrentKey property.
Files created by SaveKey can be passed to the LoadKey function.


See Also

TJvRegistryTreeView.LoadKey


About

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