Dela via


DualApiPartitionAttribute Class

Definition

Indicates that the type is supported in desktop apps and in UWP apps.

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
Inheritance
DualApiPartitionAttribute
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)

Constructors

DualApiPartitionAttribute()

Creates and initializes a new instance of the attribute.

Fields

version

Applies to

See also