Share via


HidInputReport.GetNumericControl(UInt16, UInt16) 方法

定義

擷取與 usagePageusageId 參數相關聯的數值控制項,並在指定的輸入報告中找到。

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

指定 HID 裝置之最上層集合的使用頁面。

usageId
UInt16

unsigned short

uint16_t

指定 HID 裝置之最上層集合的使用識別碼。

傳回

HidNumericControl物件。

適用於

另請參閱