# menuItem

> Holds a sanitized reference to the name of the menu item as a path.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public string menuItem
```

### Remarks

This field stores the value set by the `itemName` parameter passed to the constructor. The field is public only for the benefit of Unity systems. Initialize it via the constructor parameter and don't modify it again.
