Share via


RegistryTools.DoesRegistryKeyExistInCurrentUserRoot(String) Method

Definition

Determines if a key exists in the HKCU root Registry

public:
 virtual bool DoesRegistryKeyExistInCurrentUserRoot(System::String ^ regKeyPath);
public bool DoesRegistryKeyExistInCurrentUserRoot (string regKeyPath);
abstract member DoesRegistryKeyExistInCurrentUserRoot : string -> bool
override this.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

Implements

Applies to