'Usage
Dim instance As KeyboardMapper Dim key As Keys Dim value As Boolean value = instance.Contains(key)
Parameters
- key
- The key sequence to query for.
Return Value
True if the current keyboard map contains a mapping for key, false if not.
'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."); }