GetValueNames: IStringList;
The GetValueNames method returns the collection of names of registry subkey parameters.
Add a link to the Registry system assembly.
Sub UserProc;
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 UserProc;
After executing the example the development environment console displays names of all the parameters contained in the registry subkey [HKEY_CURRENT_CONFIG\Software\Fonts].
See also: