HidDevice.GetDeviceSelector メソッド

定義

オーバーロード

GetDeviceSelector(UInt16, UInt16)

指定された usagePageusageId に基づいて、高度なクエリ構文 (AQS) 文字列を取得します。

GetDeviceSelector(UInt16, UInt16, UInt16, UInt16)

指定された usagePage、usageIdvendorIdproductId に基づいて、高度なクエリ構文 (AQS) 文字列を取得します。

GetDeviceSelector(UInt16, UInt16)

指定された usagePageusageId に基づいて、高度なクエリ構文 (AQS) 文字列を取得します。

public:
 static Platform::String ^ GetDeviceSelector(unsigned short usagePage, unsigned short usageId);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
 static winrt::hstring GetDeviceSelector(uint16_t const& usagePage, uint16_t const& usageId);
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public static string GetDeviceSelector(ushort usagePage, ushort usageId);
function getDeviceSelector(usagePage, usageId)
Public Shared Function GetDeviceSelector (usagePage As UShort, usageId As UShort) As String

パラメーター

usagePage
UInt16

unsigned short

uint16_t

指定された HID デバイスの最上位コレクションの使用状況ページを指定します。

usageId
UInt16

unsigned short

uint16_t

指定された HID デバイスの最上位コレクションの使用状況識別子を指定します。

戻り値

String

Platform::String

winrt::hstring

デバイス セレクターを表す高度なクエリ構文 (AQS) 文字列。

属性

適用対象

GetDeviceSelector(UInt16, UInt16, UInt16, UInt16)

指定された usagePage、usageIdvendorIdproductId に基づいて、高度なクエリ構文 (AQS) 文字列を取得します。

public:
 static Platform::String ^ GetDeviceSelector(unsigned short usagePage, unsigned short usageId, unsigned short vendorId, unsigned short productId);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorVidPid")]
 static winrt::hstring GetDeviceSelector(uint16_t const& usagePage, uint16_t const& usageId, uint16_t const& vendorId, uint16_t const& productId);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorVidPid")]
public static string GetDeviceSelector(ushort usagePage, ushort usageId, ushort vendorId, ushort productId);
function getDeviceSelector(usagePage, usageId, vendorId, productId)
Public Shared Function GetDeviceSelector (usagePage As UShort, usageId As UShort, vendorId As UShort, productId As UShort) As String

パラメーター

usagePage
UInt16

unsigned short

uint16_t

指定された HID デバイスの最上位コレクションの使用状況ページを指定します。

usageId
UInt16

unsigned short

uint16_t

指定された HID デバイスの最上位コレクションの使用状況識別子を指定します。

vendorId
UInt16

unsigned short

uint16_t

デバイス ベンダーを識別します。

productId
UInt16

unsigned short

uint16_t

製品を識別します。

戻り値

String

Platform::String

winrt::hstring

デバイス セレクターを表す高度なクエリ構文 (AQS) 文字列。

属性

適用対象