Attachmate.Reflection.Emulation.Common Namespace > KeyboardMapper Class > RemoveMapping Method : RemoveMapping(Keys,Boolean) Method |
'Declaration
Public Overloads Sub RemoveMapping( _ ByVal key As Keys, _ ByVal isExtendedKey As Boolean _ )
'Usage
Dim instance As KeyboardMapper Dim key As Keys Dim isExtendedKey As Boolean instance.RemoveMapping(key, isExtendedKey)
public void RemoveMapping( Keys key, bool isExtendedKey )
private IUtsTerminal terminal; private IKeyboardMapper mapper; public void RemoveMap(Keys key) { if(terminal != null) { mapper = terminal.KeyboardMapper; mapper.RemoveMapping(key,true); } else Console.Writeline("No terminal exists."); }