BluetoothDevice.GetDeviceSelector 方法

定义

获取用于标识此设备的实例 (AQS) 字符串的高级查询语法。 此字符串将传递到 FindAllAsync 或 CreateWatcher 方法。

public:
 static Platform::String ^ GetDeviceSelector();
 static winrt::hstring GetDeviceSelector();
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

返回

String

Platform::String

winrt::hstring

此设备的设备选择器。

Windows 要求

应用功能
bluetooth

适用于