Open topic with navigation

GetItem Method (IMenu)
Returns the menu item with the specified path. Tip: To check whether the item exists, use the MenuItem.Exists property.

C# Syntax

    IMenuItem GetItem(
       string itemPath
    )

Parameters

itemPath
  The full path of the menu item to return. The path is composed of the menu item names or a numeric index separated by a semicolon. To specify the index of the item to select, use <Item #>. Index values begin with 1. Tip: Use the BuildMenuPath method to build the item path string to be used as the itemPath argument for this method.

Return Value

The menu item (IMenuItem) found at the specified item path