Registry.GetValueType
---------------------

Queries type of a value.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Registry](component_Registry.md) | [7.2](newinversion72.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "Registry.GetValueType"; Path; Name ) 

**MBS**( **"Registry.GetValueType";** /\* Queries type of a value. \*/  
**$Path**; /\* The path to the parent registry key.  
Separated by \\ you specify the path to the key you want.  
Root can be Classes, CurrentUser, LocalMachine, Users, PerformanceData, CurrentConfig, DynData or the HKEY names.e.g. "Users\\test" \*/   
**$Name**) /\* The name of the value.e.g. "Hello" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Path | The path to the parent registry key.   Separated by \\ you specify the path to the key you want.   Root can be Classes, CurrentUser, LocalMachine, Users, PerformanceData, CurrentConfig, DynData or the HKEY names. | "Users\\test" |
| Name | The name of the value. | "Hello" |

### Result

Returns value or error.

### Description

Queries type of a value.  
Value can be none, text, ExpandText, Binary, DWORD, DWORD BigEndian, Link, List, ResourceList, FullResourceDescriptor, ResourceRequirementsList or QWORD.  
DWORD is a 32-bit number and QWORD a 64-bit number.  
### Examples

Queries the value type:

 MBS ( "Registry.GetValueType"; "CurrentUser\\Test"; "Hello")  
### See also

- [Registry.GetValue](RegistryGetValue.md)
- [Registry.SetValue](RegistrySetValue.md)

This function checks for a license.

Created 20th March 2017 , last changed 20th March 2017

  
[Registry.GetValue](RegistryGetValue.md) - [Registry.ListKeys](RegistryListKeys.md)

[HTML Version](RegistryGetValueType.shtml)