IRegistryTools2.DoesRegistryKeyExistInCurrentUserRoot(String) 方法

定義

判斷 HKCU 根登錄中是否存在機碼

public:
 bool DoesRegistryKeyExistInCurrentUserRoot(System::String ^ regKeyPath);
public bool DoesRegistryKeyExistInCurrentUserRoot (string regKeyPath);
abstract member DoesRegistryKeyExistInCurrentUserRoot : string -> bool
Public Function DoesRegistryKeyExistInCurrentUserRoot (regKeyPath As String) As Boolean

參數

regKeyPath
String

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

傳回

如果索引鍵存在,則為 True;如果索引鍵不存在則為 false

適用於