Share via


DeviceObjectInstance.UsagePage Property (Microsoft.DirectX.DirectInput)

The Human Interface Device (HID) usage page associated with the object, if known. HIDs always report a usage page. Non-HID devices can optionally report a usage page; if they do not, the value of this member is 0.

Definition

Visual Basic Public Property UsagePage As Short
C# public short UsagePage { get; set; }
C++ public:
property short UsagePage {
        short get();
        void set(short value);
}
JScript public function get UsagePage() : short
public function set UsagePage(short);

Property Value

System.Int16

This property is read/write.