Attachmate.Reflection.Emulation.Common Namespace > KeyboardMapper Class > Contains Method : Contains(Keys) Method |
'Usage
Dim instance As KeyboardMapper Dim key As Keys Dim value As Boolean value = instance.Contains(key)
private IUtsTerminal terminal; private IKeyboardMapper mapper; public void ContainsMap(Keys key) { if(terminal != null) { mapper = terminal.KeyboardMapper; bool Iscontain = mapper.Contains(key); } else Console.Writeline("No terminal exists."); }