PhoneLineTransportDevice.GetDeviceSelector 方法

定义

重载

GetDeviceSelector()

获取高级查询语法 (AQS) 字符串,应用可以传递给 DeviceInformation.FindAllAsync 以查找 PhoneLineTransportDevices。

GetDeviceSelector(PhoneLineTransport)

获取高级查询语法 (AQS) 字符串,应用可以传递给 DeviceInformation.FindAllAsync 以查找给定类型的 PhoneLineTransportDevices。

GetDeviceSelector()

获取高级查询语法 (AQS) 字符串,应用可以传递给 DeviceInformation.FindAllAsync 以查找 PhoneLineTransportDevices。

public:
 static Platform::String ^ GetDeviceSelector();
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
 static winrt::hstring GetDeviceSelector();
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

返回

String

Platform::String

winrt::hstring

格式化为 AQS 查询的字符串。

属性

适用于

GetDeviceSelector(PhoneLineTransport)

获取高级查询语法 (AQS) 字符串,应用可以传递给 DeviceInformation.FindAllAsync 以查找给定类型的 PhoneLineTransportDevices。

public:
 static Platform::String ^ GetDeviceSelector(PhoneLineTransport transport);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelectorForPhoneLineTransport")]
 static winrt::hstring GetDeviceSelector(PhoneLineTransport const& transport);
[Windows.Foundation.Metadata.Overload("GetDeviceSelectorForPhoneLineTransport")]
public static string GetDeviceSelector(PhoneLineTransport transport);
function getDeviceSelector(transport)
Public Shared Function GetDeviceSelector (transport As PhoneLineTransport) As String

参数

transport
PhoneLineTransport

一个 PhoneLineTransport,指定所需类型的 PhoneLineTransportDevice。

返回

String

Platform::String

winrt::hstring

格式化为 AQS 查询的字符串。

属性

适用于