Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- tool
- A Tool enumeration value associated with the menu item.
- topMenuId
- An integer value which represents the top-level menu ID.
- subMenuId
- An integer value which represents the sub-level menu ID.
- visible
- A boolean value which is true to set the given menu item to visible. Otherwise, false should be set.
- exclusive
- A boolean value which is true to set all other menu items on the same menu level as hidden. Otherwise, false should be set.