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 对象。

适用于

另请参阅