IRegistryTools3.TryGetRegistryValueKindFromLocalMachineRoot 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 HKLM root registry.
public bool TryGetRegistryValueKindFromLocalMachineRoot (string regKeyPath, string regKeyName, out Microsoft.Win32.RegistryValueKind kind, bool use64Bit = false);
abstract member TryGetRegistryValueKindFromLocalMachineRoot : string * string * RegistryValueKind * bool -> bool
Public Function TryGetRegistryValueKindFromLocalMachineRoot (regKeyPath As String, regKeyName As String, ByRef kind As RegistryValueKind, Optional use64Bit As Boolean = false) 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
- use64Bit
- Boolean
if true, it uses the 64 bit registry, otherwise 32 bit is used
Returns
True on success, false on failure