Item Property
Item[Char]
Gets the HID code that corresponds to the given HID code.
C#
public byte this[char ch] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Char | ch | The character to look-up the HID code for. |
Property Value
Type | Description |
---|---|
System.Byte | The HID code that would be generated by typing this character on the keyboard layout. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | A HID code was requested that is not in this HidCodeTranslator. |
Item[Byte]
Gets the character that corresponds to the given HID code.
C#
public char this[byte hidCode] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Byte | hidCode |
Property Value
Type | Description |
---|---|
System.Char | The character that would be rendered for this HID code. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | A character was requested from a HID code not in this HidCodeTranslator. |