Share via


IRegistryTools3.TryGetRegistryValueKindFromCurrentUserRoot Method

Definition

Determines the kind of a property in the HKCU root registry.

public:
 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
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

Applies to