語言

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 需求

規格需求 Description
應用程式功能
bluetooth

適用於