Share via


IRegistryTools2.DoesRegistryKeyExistInCurrentUserRoot(String) Method

Definition

Determines if a key exists in the HKCU root Registry

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

Parameters

regKeyPath
String

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

Returns

True if key exists, false if it does not

Applies to