共用方式為


HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) 方法

定義

擷取指定 HID 裝置之數值控制項的描述。

public:
 virtual IVectorView<HidNumericControlDescription ^> ^ GetNumericControlDescriptions(HidReportType reportType, unsigned short usagePage, unsigned short usageId) = GetNumericControlDescriptions;
IVectorView<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType const& reportType, uint16_t const& usagePage, uint16_t const& usageId);
public IReadOnlyList<HidNumericControlDescription> GetNumericControlDescriptions(HidReportType reportType, ushort usagePage, ushort usageId);
function getNumericControlDescriptions(reportType, usagePage, usageId)
Public Function GetNumericControlDescriptions (reportType As HidReportType, usagePage As UShort, usageId As UShort) As IReadOnlyList(Of HidNumericControlDescription)

參數

reportType
HidReportType

指定要求控制項描述的報表類型。

usagePage
UInt16

unsigned short

uint16_t

識別與控制項相關聯的使用頁面。

值 0 會被視為所有使用頁面的萬用字元。

usageId
UInt16

unsigned short

uint16_t

識別與控制項相關聯的使用方式。

值 0 會被視為所有使用識別碼的萬用字元。

傳回

HidNumericControlDescription物件的向量。

適用於

另請參閱