RegistryTools.TryGetRegistryValueKindFromCurrentUserRoot 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 the kind of a property in the HKCU root registry.
public:
virtual bool TryGetRegistryValueKindFromCurrentUserRoot(System::String ^ regKeyPath, System::String ^ regKeyName, [Runtime::InteropServices::Out] Microsoft::Win32::RegistryValueKind % kind);
public bool TryGetRegistryValueKindFromCurrentUserRoot (string regKeyPath, string regKeyName, out Microsoft.Win32.RegistryValueKind kind);
abstract member TryGetRegistryValueKindFromCurrentUserRoot : string * string * RegistryValueKind -> bool
override this.TryGetRegistryValueKindFromCurrentUserRoot : string * string * RegistryValueKind -> bool
Public Function TryGetRegistryValueKindFromCurrentUserRoot (regKeyPath As String, regKeyName As String, ByRef kind As RegistryValueKind) As Boolean
Parameters
- regKeyPath
- String
Path to the registry key in the format key\subkey\subsubkey
- regKeyName
- String
Variable name under the key
- kind
- RegistryValueKind
current value kind
Returns
True on success, false on failure