Share via


RegistryTools.DeleteRegistryValueFromLocalMachineRoot Method

Definition

Deletes the specified registry value from a key in the HKLM root Registry

public bool DeleteRegistryValueFromLocalMachineRoot (string regKeyPath, string regKeyName, bool use64Bit = false);
abstract member DeleteRegistryValueFromLocalMachineRoot : string * string * bool -> bool
override this.DeleteRegistryValueFromLocalMachineRoot : string * string * bool -> bool
Public Function DeleteRegistryValueFromLocalMachineRoot (regKeyPath As String, regKeyName As String, Optional use64Bit As Boolean = false) As Boolean

Parameters

regKeyPath
String

Path to the registry key in the format key\subkey\subsubkey

regKeyName
String

Variable name under the key

use64Bit
Boolean

if true, it uses the 64 bit registry, otherwise 32 bit is used

Returns

True if removed, or false if error

Implements

Applies to