HidDevice.GetDeviceSelector 메서드

정의

오버로드

GetDeviceSelector(UInt16, UInt16)

지정된 usagePageusageId를 기반으로 AQS(고급 쿼리 구문) 문자열을 검색합니다.

GetDeviceSelector(UInt16, UInt16, UInt16, UInt16)

지정된 usagePage, usageId, vendorId 및productId를 기반으로 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, usageId, vendorId 및productId를 기반으로 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(고급 쿼리 구문) 문자열입니다.

특성

적용 대상