IRegistryTools2.DeleteRegistryKeyFromCurrentUserRoot(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the specified registry key and all subkeys in the HKCU root Registry
public:
bool DeleteRegistryKeyFromCurrentUserRoot(System::String ^ regKeyPath);
public bool DeleteRegistryKeyFromCurrentUserRoot (string regKeyPath);
abstract member 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