Dictionary.RemoveKey
--------------------

Removes value with given key.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Dictionary](component_Dictionary.md) | [5.0](newinversion50.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Dictionary.RemoveKey"; DictionaryRef; Key ) 

**MBS**( **"Dictionary.RemoveKey";** /\* Removes value with given key. \*/  
**$DictionaryRef**; /\* The reference number to the dictionary.e.g. $dic \*/   
**$Key**) /\* The key to use. Keys are case sensitive.e.g. "FirstName" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| DictionaryRef | The reference number to the dictionary. | $dic |
| Key | The key to use. Keys are case sensitive. | "FirstName" |

### Result

Returns OK or error.

### Description

Removes value with given key.  
This function checks for a license.

Created 12nd December 2014 , last changed 1st March 2021

  
[Dictionary.ReleaseAll](DictionaryReleaseAll.md) - [Dictionary.Serialize](DictionarySerialize.md)

[HTML Version](DictionaryRemoveKey.shtml)