PwmController.GetDeviceSelector 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性
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 控制器的友好名称。
返回
- 属性
Windows 要求
设备系列 |
Windows 10 Creators Update (在 10.0.15063.0 中引入)
|
API contract |
Windows.Devices.DevicesLowLevelContract (在 v3.0 中引入)
|
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈