ProjectNode.handleContextMenuItem(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles a user selecting an item on the shortcut menu that has been defined by the corresponding method addContextMenuItems.
protected:
virtual void handleContextMenuItem(int _id);
protected virtual void handleContextMenuItem (int _id);
abstract member handleContextMenuItem : int -> unit
override this.handleContextMenuItem : int -> unit
Protected Overridable Sub handleContextMenuItem (_id As Integer)
Parameters
- _id
- Int32
The ID of the menu items. This is the zero-based number in the list set by the addContextMenuItems method. If accContextMenuItems returns the string "item1,item2" and the user selects the item "item2" in the shortcut menu, this method uses the value 1.
Remarks
This method is called when a user selects an item on the shortcut menu that has been defined by the corresponding method addContextMenuItems.