HidDevice.GetDeviceSelector Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
GetDeviceSelector(UInt16, UInt16) |
Mengambil string Advanced Query Syntax (AQS) berdasarkan usagePage dan usageId yang diberikan. |
GetDeviceSelector(UInt16, UInt16, UInt16, UInt16) |
Mengambil string Advanced Query Syntax (AQS) berdasarkan usagePage, usageId, vendorId, dan productId yang diberikan. |
GetDeviceSelector(UInt16, UInt16)
Mengambil string Advanced Query Syntax (AQS) berdasarkan usagePage dan usageId yang diberikan.
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
Parameter
- usagePage
-
UInt16
unsigned short
uint16_t
Menentukan halaman penggunaan koleksi tingkat atas untuk perangkat HID yang diberikan.
- usageId
-
UInt16
unsigned short
uint16_t
Menentukan pengidentifikasi penggunaan koleksi tingkat atas untuk perangkat HID yang diberikan.
Mengembalikan
String Advanced Query Syntax (AQS) yang mewakili pemilih perangkat.
- Atribut
Berlaku untuk
GetDeviceSelector(UInt16, UInt16, UInt16, UInt16)
Mengambil string Advanced Query Syntax (AQS) berdasarkan usagePage, usageId, vendorId, dan productId yang diberikan.
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
Parameter
- usagePage
-
UInt16
unsigned short
uint16_t
Menentukan halaman penggunaan koleksi tingkat atas untuk perangkat HID yang diberikan.
- usageId
-
UInt16
unsigned short
uint16_t
Menentukan pengidentifikasi penggunaan koleksi tingkat atas untuk perangkat HID yang diberikan.
- vendorId
-
UInt16
unsigned short
uint16_t
Mengidentifikasi vendor perangkat.
- productId
-
UInt16
unsigned short
uint16_t
Mengidentifikasi produk.
Mengembalikan
String Advanced Query Syntax (AQS) yang mewakili pemilih perangkat.
- Atribut