Show / Hide Table of Contents

this Property

this[char]

Gets the HID code that corresponds to the given HID code.

C#
public byte this[char ch] { get; }

Parameters

Type Name Description
char ch

The character to look-up the HID code for.

Property Value

Type Description
byte

The HID code that would be generated by typing this character on the keyboard layout.

Exceptions

Type Condition
ArgumentOutOfRangeException

A HID code was requested that is not in this HidCodeTranslator.

this[byte]

Gets the character that corresponds to the given HID code.

C#
public char this[byte hidCode] { get; }

Parameters

Type Name Description
byte hidCode

Property Value

Type Description
char

The character that would be rendered for this HID code.

Exceptions

Type Condition
ArgumentOutOfRangeException

A character was requested from a HID code not in this HidCodeTranslator.

In this article
Back to top Generated by DocFX