Returns the value of the specified registry key.
C#
oKeyValue = GetRegistryValue (rcCategory, sKeyPath, sValueName, bConvertToInt);
VB
oKeyValue = GetRegistryValue (rcCategory, sKeyPath, sValueName, bConvertToInt)
| Variable | Description | 
|---|---|
| oKeyValue | The value of the specified key. Null if the key does not exist. Object. | 
| rcCategory | The root key for the registry. RegistryCategory. | 
| sKeyPath | The path to the registry key. String. | 
| sValueName | The name of the value. String. | 
| bConvertToInt | Specifies whether to convert the value to an integer. Boolean. |