DeviceObjectInstance.Usage Property (Microsoft.DirectX.DirectInput)

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

Definition

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

Property Value

System.Int16

This property is read/write.