GetCharacters Method
GetCharacters(Byte[])
Given a collection of HID codes, returns an System.Collections.Generic.IList<> of characters that would be produced by the keyboard layout in this class.
C#
public IEnumerable<char> GetCharacters(byte[] hidCodes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | hidCodes | An array of keyboard HID codes. |
Returns
System.Collections.Generic.IEnumerable<System.Char>
An System.Collections.Generic.IEnumerable<> of characters that would be generated by the HID codes.
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | At least one of the HID codes was not mapped in this HidCodeTranslator instance. |