AddCommandContextMenu Method (IApplication)
Adds a menu item to the specified command's context-sensitive menu.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddCommandContextMenu( _
const dsString& ApiUuid As System.String, _
dsMenuItemType_e ItemType As dsMenuItemType_e, _
const dsString& ItemName As System.String, _
const dsString& UserCmdID As System.String, _
const dsString& CmdName As System.String _
) As ContextMenuItem |
Parameters
- ApiUuid
- UUID of the add-in or non add-in application
- ItemType
- Type of menu item as defined in dsMenuItemtype_e
- ItemName
- Name of the menu item
- UserCmdID
- User-defined command ID when ItemType is dsMenuItemType.dsMenuItemType_UserCommand
- CmdName
- Name of the command with which to associate this context-sensitive menu item
- ContextMenuItem[out] or Return Value
- Context-sensitive menu item for CmdName
Example
Remarks
See Also
Availability
DraftSight V1R5.0