RegistryTools.DoesRegistryKeyExistInCurrentUserRoot(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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