UtilitiesGetRegistryFloat Method |
Returns an Float from the registry, or a default.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static float GetRegistryFloat(
RegistryKey oReg,
string sName,
float flDefault
)
Public Shared Function GetRegistryFloat (
oReg As RegistryKey,
sName As String,
flDefault As Single
) As Single
public:
static float GetRegistryFloat(
RegistryKey^ oReg,
String^ sName,
float flDefault
)
Parameters
- oReg
- Type: Microsoft.Win32RegistryKey
Registry key in which to find the value. - sName
- Type: SystemString
The value name. - flDefault
- Type: SystemSingle
The default float value if the registry key is missing or cannot be used as a float.
Return Value
Type:
SingleFloat representing the value, or the default.
See Also