共用方式為


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 應用程式中支援類型。

適用於

另請參閱