InfoConnect for Airlines
SaveAs Method (KeyboardMapper)
Example 


The path to the new keyboard map.
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
System.IO.IOException An I/O error occurred while trying to save the keyboard map.
System.Security.SecurityException 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