System.Win.Registry.TRegistry.GetRootKeyName
Delphi
function GetRootKeyName: string;
C++
System::UnicodeString __fastcall GetRootKeyName();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegistry |
Description
Returns the string root key name.
GetRootKeyName is the getter method for the RootKey property.
The GetRootKeyName method returns the string equivalent of the RootKey property.
Note: The returned value can be one of the following: HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_PERFORMANCE_DATA, HKEY_CURRENT_CONFIG, or HKEY_DYN_DATA.