HidOutputReport.GetBooleanControl(UInt16, UInt16) 方法

定義

擷取與指定 usagePageusageId相關聯的布林值控制項。

public:
 virtual HidBooleanControl ^ GetBooleanControl(unsigned short usagePage, unsigned short usageId) = GetBooleanControl;
HidBooleanControl GetBooleanControl(uint16_t const& usagePage, uint16_t const& usageId);
public HidBooleanControl GetBooleanControl(ushort usagePage, ushort usageId);
function getBooleanControl(usagePage, usageId)
Public Function GetBooleanControl (usagePage As UShort, usageId As UShort) As HidBooleanControl

參數

usagePage
UInt16

unsigned short

uint16_t

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

usageId
UInt16

unsigned short

uint16_t

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

傳回

HidBooleanControl物件。

適用於

另請參閱