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 ref class HidCollection sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HidCollection final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HidCollection
Public NotInheritable Class HidCollection
Inheritance
Object Platform::Object IInspectable HidCollection
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Id

Gets the identifier for a collection of HID controls.

Type

Gets the collection type.

UsageId

Gets the usage identifier for the given control collection.

UsagePage

Gets the usage page for the given control collection.

Applies to

See also