InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / KeyboardMapper Class / SaveAs Method
The path to the new keyboard map.
Example


In This Topic
    SaveAs Method (KeyboardMapper)
    In This Topic
    Saves the current keyboard map contents to a file.
    Syntax
    'Declaration
     
    
    Public Sub SaveAs( _
       ByVal pathName As String _
    ) 
    'Usage
     
    
    Dim instance As KeyboardMapper
    Dim pathName As String
     
    instance.SaveAs(pathName)
    public void SaveAs( 
       string pathName
    )

    Parameters

    pathName
    The path to the new keyboard map.
    Exceptions
    ExceptionDescription
    An I/O 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 SaveNewMap()
    {
       if(terminal != null)
       {
          mapper = terminal.KeyboardMapper;
          mapper.SaveAs("NewKeyboardMap.xkb");
       }
       else
          Console.Writeline("No terminal exists.");
    }
    See Also