HidCollection
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// You can use this class in JavaScript.
- 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 Id
Retrieves the identifier for a collection of HID controls.
public : unsigned int Id { get; }public uint Id { get; }Public ReadOnly Property Id As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The collection identifier.
Type Type Type Type
Retrieves the collection type.
public : HidCollectionType Type { get; }public HidCollectionType Type { get; }Public ReadOnly Property Type As HidCollectionType// You can use this property in JavaScript.
A HidCollectionType object.
UsageId UsageId UsageId UsageId
Retrieves the usage identifier for the given control collection.
public : unsigned int UsageId { get; }public uint UsageId { get; }Public ReadOnly Property UsageId As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The usage identifier.
UsagePage UsagePage UsagePage UsagePage
Retrieves the usage page for the given control collection.
public : unsigned int UsagePage { get; }public uint UsagePage { get; }Public ReadOnly Property UsagePage As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The usage page.