Menu.GetTag
-----------

Queries the tag value of the menu.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Menu](component_Menu.md) | [4.1](newinversion41.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Menu.GetTag"; menu ) 

**MBS**( **"Menu.GetTag";** /\* Queries the tag value of the menu. \*/  
**$menu**) /\* The reference to the menu. Please create one with [Menu.CreateMenu](MenuCreateMenu.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| menu | The reference to the menu. Please create one with [Menu.CreateMenu](MenuCreateMenu.md). | $menu |

### Result

Returns value or error.

### Description

Queries the tag value of the menu.  
See also [Menu.SetTag](MenuSetTag.md).  
With the tag, we allow you to associate a text with the menu item, for example a record ID.  
### See also

- [Menu.CreateMenu](MenuCreateMenu.md)
- [Menu.GetURL](MenuGetURL.md)
- [Menu.SetTag](MenuSetTag.md)
- [MenuItem.SetTag](MenuItemSetTag.md)

This function is free to use.

Created 18th August 2014 , last changed 31st August 2014

  
[Menu.GetShowsStateColumn](MenuGetShowsStateColumn.md) - [Menu.GetTitle](MenuGetTitle.md)

[HTML Version](MenuGetTag.shtml)