HidCollection HidCollection HidCollection Class

Definition

Retrieves the collection information for a group of related controls.

The HID protocol uses collections to group a set of controls that are similar to one another, or, are related by physical or operational proximity.

public sealed class HidCollection : IHidCollectionpublic sealed class HidCollection : IHidCollectionPublic NotInheritable Class HidCollection Implements IHidCollection
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Id Id Id

Retrieves the identifier for a collection of HID controls.

public uint Id { get; }public uint Id { get; }Public ReadOnly Property Id As uint
Value
uint uint uint

The collection identifier.

Attributes

Type Type Type

Retrieves the collection type.

public HidCollectionType Type { get; }public HidCollectionType Type { get; }Public ReadOnly Property Type As HidCollectionType
Value
HidCollectionType HidCollectionType HidCollectionType

A HidCollectionType object.

Attributes

UsageId UsageId UsageId

Retrieves the usage identifier for the given control collection.

public uint UsageId { get; }public uint UsageId { get; }Public ReadOnly Property UsageId As uint
Value
uint uint uint

The usage identifier.

Attributes

UsagePage UsagePage UsagePage

Retrieves the usage page for the given control collection.

public uint UsagePage { get; }public uint UsagePage { get; }Public ReadOnly Property UsagePage As uint
Value
uint uint uint

The usage page.

Attributes