Click or drag to resize

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.1.0.1 (2.1.0.1)
Syntax
C#
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