Gets the title of the menu item specified.
'Declaration
Public Function GetItem( _
ByVal As Tool, _
ByVal As Integer, _
ByVal As Integer _
) As String
'Usage
Dim instance As ToolbarContextMenu
Dim tool As Tool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim value As String
value = instance.GetItem(tool, topMenuId, subMenuId)
public string GetItem(
Tool ,
int ,
int
)
public: string* GetItem(
Tool ,
int ,
int
)
public:
String^ GetItem(
Tool ,
int ,
int
)
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.