Show / Hide Table of Contents

GetCharacters Method

GetCharacters(byte[])

Given a collection of HID codes, returns an System.Collections.Generic.IList<T> of characters that would be produced by the keyboard layout in this class.

C#
public IEnumerable<char> GetCharacters(byte[] hidCodes)

Parameters

Type Name Description
byte[] hidCodes

An array of keyboard HID codes.

Returns

IEnumerable<char>

An System.Collections.Generic.IEnumerable<T> of characters that would be generated by the HID codes.

Exceptions

Type Condition
ArgumentOutOfRangeException

At least one of the HID codes was not mapped in this HidCodeTranslator instance.

In this article
Back to top Generated by DocFX