Gets the title of the menu item specified.
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.
Return Value
A string which represents the title of the menu item specified.