GetValueNames: IStringList;
The GetValueNames method returns the collection of names of registry subkey parameters.
Sub Main;
Var
RegKey, SubKey: IRegistryKey;
Params: IStringList;
s: String;
Begin
RegKey := RegistryClass.CurrentConfig;
SubKey := RegKey.OpenSubKey("Software\Fonts", False);
Params := SubKey.GetValueNames;
For Each s In Params Do
Debug.WriteLine(s);
End For;
End Sub Main;
After executing the example names of all the parameters contained in the registry subkey HKEY_CURRENT_CONFIG\Software\Fonts are displayed in the console.
See also: