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

格式機碼\subkey\subsubkey 的登錄機碼路徑

傳回

如果已移除則為 True,如果發生錯誤則為 false

實作

適用於