ApiContractAttribute ApiContractAttribute ApiContractAttribute ApiContractAttribute Class

Definition

Specifies that the type represents an API contract.

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

Constructors

ApiContractAttribute() ApiContractAttribute() ApiContractAttribute() ApiContractAttribute()

Creates and initializes a new instance of the attribute.

public : ApiContractAttribute()public ApiContractAttribute()Public Sub New()// You can use this method in JavaScript.