InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / KeyboardMapper Class / KeyMap Property
Example


In This Topic
    KeyMap Property (KeyboardMapper)
    In This Topic
    Gets or sets the name of the keymap file.
    Syntax
    'Declaration
     
    
    Public Property KeyMap As String
    'Usage
     
    
    Dim instance As KeyboardMapper
    Dim value As String
     
    instance.KeyMap = value
     
    value = instance.KeyMap
    public string KeyMap {get; set;}
    Exceptions
    ExceptionDescription
    This exception is thrown when you modify a property that was secured via the Permissions Manager, or that can only be modified by an Administrator.
    Remarks
    When setting the filename, if the value is not a full path, InfoConnect searches the user's InfoConnect data folder and the Built-Ins/Keyboard Maps folder.

    If the file cannot be found there, or the full path passed in does not exist, a FileNotFoundException is thrown.

    Example
    private KeyMapper mapper;
                
    //Set the full path as a keymap.
    mapper.KeyMap = "Full path";
    See Also