RegistryTools.DeleteRegistryKeyFromCurrentUserRoot(String) 方法

定义

删除 HKCU 根注册表中的指定注册表项和所有子项

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

参数

regKeyPath
String

格式为 key\subkey\subsubkey 的注册表项的路径

返回

如果删除,则为 True;如果出错,则为 false

实现

适用于