Api​Contract​Attribute Api​Contract​Attribute Api​Contract​Attribute Class

Definition

Specifies that the type represents an API contract.

public sealed class ApiContractAttribute : Attributepublic sealed class ApiContractAttribute : AttributePublic NotInheritable Class ApiContractAttribute Inherits Attribute
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

ApiContractAttribute() ApiContractAttribute() ApiContractAttribute()

Creates and initializes a new instance of the attribute.

public ApiContractAttribute()public ApiContractAttribute()Public Sub New()
Attributes