M-Files UI Extensibility Framework
DeleteRegistryKey Method
ICommonFunctions Interface : DeleteRegistryKey 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.
Description
Deletes the M-Files registry key.
Syntax
Visual Basic
Public Sub DeleteRegistryKey( _
   ByVal userSpecific As Boolean, _
   ByVal key 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.
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.1.3915.45 and newer.

See Also

ICommonFunctions Interface  | ICommonFunctions Members