HidOutputReport.GetNumericControl(UInt16, UInt16) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取與指定 usagePage 和 usageId相關聯的數值控制項。
public:
virtual HidNumericControl ^ GetNumericControl(unsigned short usagePage, unsigned short usageId) = GetNumericControl;
HidNumericControl GetNumericControl(uint16_t const& usagePage, uint16_t const& usageId);
public HidNumericControl GetNumericControl(ushort usagePage, ushort usageId);
function getNumericControl(usagePage, usageId)
Public Function GetNumericControl (usagePage As UShort, usageId As UShort) As HidNumericControl
參數
- usagePage
-
UInt16
unsigned short
uint16_t
與指定控制項相關聯的使用方式頁面。
- usageId
-
UInt16
unsigned short
uint16_t
與指定控制項相關聯的使用識別碼。
傳回
HidNumericControl l 物件。