M-Files UI Extensibility Framework
DeleteRegistryValue Method
ICommonFunctions Interface : DeleteRegistryValue Method
True to use current user registry hive (HKCU), false to use local computer registry hive (HKLM).
The registry key part after the M-Files version specific part. E.g. "Client\Common" would point to the full registry key <HKEY>\Software\Motive\M-Files\<version>\Client\Common.
The value name. Empty string indicates the default value of the key.
Description
Deletes the M-Files registry value.
Syntax
Visual Basic
Public Sub DeleteRegistryValue( _
   ByVal userSpecific As Boolean, _
   ByVal key As String, _
   ByVal valueName As String _
) 
Parameters
userSpecific
True to use current user registry hive (HKCU), false to use local computer registry hive (HKLM).
key
The registry key part after the M-Files version specific part. E.g. "Client\Common" would point to the full registry key <HKEY>\Software\Motive\M-Files\<version>\Client\Common.
valueName
The value name. Empty string indicates the default value of the key.
Remarks

This method affects values and keys under the registry key of current M-Files version.

Note for 32-bit processes on 64-bit operating system: M-Files registry access is always pointed to the native registry, so the 32-bit processes will use the same registry with 64-bit processes.

Supported in M-Files 10.2.3920.31 and newer.

See Also

ICommonFunctions Interface  | ICommonFunctions Members