DualApiPartitionAttribute 类

定义

指示该类型在桌面应用和 UWP 应用中受支持。

public ref class DualApiPartitionAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class DualApiPartitionAttribute final : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.AttributeName("dualapipartition")]
class DualApiPartitionAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class DualApiPartitionAttribute : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.AttributeName("dualapipartition")]
public sealed class DualApiPartitionAttribute : Attribute
function DualApiPartitionAttribute()
Public NotInheritable Class DualApiPartitionAttribute
Inherits Attribute
继承
DualApiPartitionAttribute
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.FoundationContract (在 v1.0 中引入)

构造函数

DualApiPartitionAttribute()

创建并初始化 特性的新实例。

字段

version

指示该类型在桌面应用和 UWP 应用中受支持。

适用于

另请参阅