Click or drag to resize

RegistryHelperDeleteRegKey Method (UIntPtr, RegistryHelperRegSAM, 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,
	RegistryHelperRegSAM samDesired,
	string keyName
)

Parameters

hkey
Type: SystemUIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
samDesired
Type: MFiles.VAF.CommonRegistryHelperRegSAM
REGSAM samDesired.
keyName
Type: SystemString
The name of the key relative to HKEY.
See Also