AppApplicability 类

定义

如果当前设备支持应用功能列表,则此类公开用于检查的单个静态方法。

public ref class AppApplicability abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppApplicability final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class AppApplicability
Public Class AppApplicability
继承
Object Platform::Object IInspectable AppApplicability
属性

Windows 要求

设备系列
Windows 10, version 1903 (在 10.0.18362.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v8.0 中引入)

方法

GetUnsupportedAppRequirements(IIterable<String>)

给定应用所需的 应用功能 列表,返回 UnsupportedAppRequirement 对象的列表,这些对象表示列表中当前设备不支持的功能

适用于

另请参阅