InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / IKeyboardMapper Interface / AddMapping Method
A mapping between a key sequence and a set of actions to perform when that key sequence is pressed in a host session.


In This Topic
    AddMapping Method (IKeyboardMapper)
    In This Topic
    Adds a key mapping to the current keyboard map.
    Syntax
    'Declaration
     
    
    Sub AddMapping( _
       ByVal mapping As KeyboardMapping _
    ) 
    'Usage
     
    
    Dim instance As IKeyboardMapper
    Dim mapping As KeyboardMapping
     
    instance.AddMapping(mapping)
    void AddMapping( 
       KeyboardMapping mapping
    )

    Parameters

    mapping
    A mapping between a key sequence and a set of actions to perform when that key sequence is pressed in a host session.
    Remarks
    A key can also be remapped to do nothing if the InputMapSequenceAction specified in mapping.Mapping has no InputMapActions added to it.
    See Also