다음을 통해 공유


BluetoothLEDevice.GetDeviceSelectorFromAppearance 메서드

정의

BluetoothLEAppearance 개체에서 AQS(고급 쿼리 구문) 필터 문자열을 만듭니다. AQS 문자열은 CreateWatcher 메서드에 전달되어 지정된 모양으로 DeviceInformation 개체의 컬렉션을 반환합니다.

public:
 static Platform::String ^ GetDeviceSelectorFromAppearance(BluetoothLEAppearance ^ appearance);
 static winrt::hstring GetDeviceSelectorFromAppearance(BluetoothLEAppearance const& appearance);
public static string GetDeviceSelectorFromAppearance(BluetoothLEAppearance appearance);
function getDeviceSelectorFromAppearance(appearance)
Public Shared Function GetDeviceSelectorFromAppearance (appearance As BluetoothLEAppearance) As String

매개 변수

appearance
BluetoothLEAppearance

AQS 문자열을 생성하는 데 사용되는 Bluetooth LE 모양입니다.

반환

String

Platform::String

winrt::hstring

CreateWatcher 메서드에 매개 변수로 전달할 수 있는 AQS 문자열입니다.

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v2.0에서 도입되었습니다.)
앱 기능
bluetooth

적용 대상