SharedMemory.DeleteValue
------------------------

Deletes a shared memory value.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SharedMemory](component_SharedMemory.md) | [14.5](newinversion145.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |

MBS( "SharedMemory.DeleteValue"; Name ) 

**MBS**( **"SharedMemory.DeleteValue";** /\* Deletes a shared memory value. \*/  
**$Name**) /\* The name of the shared memory object.e.g. "test" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Name | The name of the shared memory object. | "test" |

### Result

Returns OK or error.

### Description

Deletes a shared memory value.  
On Windows the shared memory only gets deleted if the last handle to it is freed.  
### See also

- [SharedMemory.GetValue](SharedMemoryGetValue.md)
- [SharedMemory.LookupValue](SharedMemoryLookupValue.md)
- [SharedMemory.SetValue](SharedMemorySetValue.md)

### Release notes

- **Version 14.5**
    - Added [SharedMemory.DeleteValue](https://www.mbsplugins.eu/SharedMemoryDeleteValue.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin in Version 14.5](https://www.mbsplugins.de/archive/2025-01-08/New_in_MBS_FileMaker_Plugin_in/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.5pr4](https://www.mbsplugins.de/archive/2024-10-25/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th October 2024 , last changed 18th October 2024

  
[SetSystemUIMode](SetSystemUIMode.md) - [SharedMemory.Exists](SharedMemoryExists.md)

[HTML Version](SharedMemoryDeleteValue.shtml)