Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / KeyboardMapping Class / KeyboardMapping Constructor / KeyboardMapping Constructor(Keys,InputMapActionSequence)
The key being mapped.
Optional parameters associated with the action. If there are no parameters needed for the action, null may be specified for this parameter.


In This Topic
    KeyboardMapping Constructor(Keys,InputMapActionSequence)
    In This Topic
    Initializes a new instance of the KeyboardMapping class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal key As Keys, _
       ByVal mapping As InputMapActionSequence _
    )
    'Usage
     
    
    Dim key As Keys
    Dim mapping As InputMapActionSequence
     
    Dim instance As New KeyboardMapping(key, mapping)
    public KeyboardMapping( 
       Keys key,
       InputMapActionSequence mapping
    )

    Parameters

    key
    The key being mapped.
    mapping
    Optional parameters associated with the action. If there are no parameters needed for the action, null may be specified for this parameter.
    See Also