ServiceDevice.GetDeviceSelectorFromServiceId(Guid) 메서드

정의

GUID로 디바이스 서비스를 식별하기 위한 AQS(고급 쿼리 구문) 문자열입니다. 이 문자열은 FindAllAsync 또는 CreateWatcher 메서드에 전달됩니다.

public:
 static Platform::String ^ GetDeviceSelectorFromServiceId(Platform::Guid serviceId);
 static winrt::hstring GetDeviceSelectorFromServiceId(winrt::guid const& serviceId);
public static string GetDeviceSelectorFromServiceId(Guid serviceId);
function getDeviceSelectorFromServiceId(serviceId)
Public Shared Function GetDeviceSelectorFromServiceId (serviceId As Guid) As String

매개 변수

serviceId
Guid

Platform::Guid

winrt::guid

서비스 식별자입니다.

반환

String

Platform::String

winrt::hstring

AQS 문자열입니다.

적용 대상

추가 정보