BluetoothLEDevice.GetDeviceSelector 方法

定義

取得進階查詢語法 (AQS) 字串,用來識別所有藍牙低能源 (LE) 裝置。 此字串會傳遞至 FindAllAsyncCreateWatcher 方法,以取得藍牙 LE 裝置的清單。

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

適用於