Attachmate.Reflection.Emulation.Common Namespace > ContextMenuItem Class > ContextMenuItem Constructor : ContextMenuItem Constructor(String,ContextMenuItemType,InputMapActionSequence) |
'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 )
Exception | Description |
---|---|
System.ArgumentException | Thrown if namecontains any illegal characters. |