InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / KeyboardMapper Class / Save Method
Example


In This Topic
    Save Method (KeyboardMapper)
    In This Topic
    Saves changes to the current keyboard map.
    Syntax
    'Declaration
     
    
    Public Sub Save() 
    'Usage
     
    
    Dim instance As KeyboardMapper
     
    instance.Save()
    public void Save()
    Exceptions
    ExceptionDescription
    An I/O (input/output) error occurred while trying to save the keyboard map.
    The caller does not have the required permission to save the keyboard map.
    Example
    private IIbmTerminal terminal;
    private IKeyboardMapper mapper;
                
    public void SaveCurrentMap()
    {
       if(terminal != null)
       {
          mapper = terminal.KeyboardMapper;
          mapper.Save();
       }
       else
          Console.Writeline("No terminal exists.");
    }
    See Also