Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- tool
- A Tool enumeration value which represents the tool associated with the menu item.
- topMenuId
- An integer value which represents the identifier of the top-level menu in which the menu item resides.
- subMenuId
- An integer value which represents the identifier of the sub-level menu in which the menu item resides.