public bool AddMenuItem( ContextMenuLocation contextMenuLocation, string strMenuName, string strActionName, bool bSeparatorBefore, bool bSeparatorBehind )
public: bool AddMenuItem( ContextMenuLocation^ contextMenuLocation, String^ strMenuName, String^ strActionName, bool bSeparatorBefore, bool bSeparatorBehind )
Parameters
- contextMenuLocation
 - This is the identifier of the context menu where the new menu should inserted at.
 - strMenuName
 - The name of the menu to be added.
 - strActionName
 - Name of the Eplan.EplApi.ApplicationFramework.Action to be performed when the menu item is selected. Also its parameters can be passed here.
 - bSeparatorBefore
 - when true, a new separator is added before the menu item is added.
 - bSeparatorBehind
 - when true, a new separator is added behind the new menu item.
 
Return Value
true when an item was added. Returns false when this menu item already exists.