'Declaration
Public Function New( _ ByVal name As String, _ ByVal type As ContextMenuItemType, _ ByVal mapping As InputMapActionSequence _ )
'Usage
Dim name As String Dim type As ContextMenuItemType Dim mapping As InputMapActionSequence Dim instance As New ContextMenuItem(name, type, mapping)
public ContextMenuItem( string name, ContextMenuItemType type, InputMapActionSequence mapping )
Parameters
- name
- The name of the item. This is the text that will appear within the context menu for the item. For separator menu items, this value is ignored.
- type
- What type of menu item this is
- mapping
- The action mapping for this item, if a menu item, otherwise ignored.