PwmController.GetDeviceSelector 方法

定义

重载

GetDeviceSelector()

检索系统上所有 PWM 控制器 (AQS) 字符串的高级查询语法。 可以将此字符串与 DeviceInformation.FindAllAsync 方法结合使用,以获取这些控制器的 DeviceInformation 对象。

GetDeviceSelector(String)

检索具有指定友好名称的 PWM 控制器 (AQS) 字符串的高级查询语法。 可以将此字符串与 DeviceInformation.FindAllAsync 方法结合使用,以获取这些控制器的 DeviceInformation 对象。

GetDeviceSelector()

检索系统上所有 PWM 控制器 (AQS) 字符串的高级查询语法。 可以将此字符串与 DeviceInformation.FindAllAsync 方法结合使用,以获取这些控制器的 DeviceInformation 对象。

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

属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Devices.DevicesLowLevelContract (在 v3.0 中引入)

适用于

GetDeviceSelector(String)

检索具有指定友好名称的 PWM 控制器 (AQS) 字符串的高级查询语法。 可以将此字符串与 DeviceInformation.FindAllAsync 方法结合使用,以获取这些控制器的 DeviceInformation 对象。

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

参数

friendlyName
String

Platform::String

winrt::hstring

要获取其相应 AQS 字符串的特定 PWM 控制器的友好名称。

返回

String

Platform::String

winrt::hstring

属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Devices.DevicesLowLevelContract (在 v3.0 中引入)

适用于