RegistryHelperDeleteRegKey Method (UIntPtr, RegistryHelperRegistryAccessFlags, String) |
Deletes the registry key. The key must not have subkeys.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static void DeleteRegKey(
UIntPtr hkey,
RegistryHelperRegistryAccessFlags accessFlags,
string keyName
)
Public Shared Sub DeleteRegKey (
hkey As UIntPtr,
accessFlags As RegistryHelperRegistryAccessFlags,
keyName As String
)
public:
static void DeleteRegKey(
UIntPtr hkey,
RegistryHelperRegistryAccessFlags accessFlags,
String^ keyName
)
Parameters
- hkey
- Type: SystemUIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE). - accessFlags
- Type: MFiles.VAF.CommonRegistryHelperRegistryAccessFlags
Options for accessing the registry, see enumRegistryAccessFlags. - keyName
- Type: SystemString
The name of the key relative to HKEY.
See Also