Share via


RegistryTools.DeleteRegistryKeyFromCurrentUserRoot(String) Method

Definition

Deletes the specified registry key and all subkeys in the HKCU root Registry

public:
 virtual bool DeleteRegistryKeyFromCurrentUserRoot(System::String ^ regKeyPath);
public bool DeleteRegistryKeyFromCurrentUserRoot (string regKeyPath);
abstract member DeleteRegistryKeyFromCurrentUserRoot : string -> bool
override this.DeleteRegistryKeyFromCurrentUserRoot : string -> bool
Public Function DeleteRegistryKeyFromCurrentUserRoot (regKeyPath As String) As Boolean

Parameters

regKeyPath
String

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

Returns

True if removed, or false if error

Implements

Applies to