HidOutputReport.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

與指定控制項相關聯的使用方式頁面。

usageId
UInt16

unsigned short

uint16_t

與指定控制項相關聯的使用識別碼。

傳回

HidNumericControl l 物件。

適用於

另請參閱