HidDevice.GetNumericControlDescriptions(HidReportType, UInt16, UInt16) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取指定 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
指定要求控制項描述的報表類型。
傳回
HidNumericControlDescription物件的向量。