ApiContractAttribute ApiContractAttribute ApiContractAttribute ApiContractAttribute Class

Definition

Specifies that the type represents an API contract.

public : sealed class ApiContractAttribute : Attribute
public sealed class ApiContractAttribute : Attribute
Public NotInheritable Class ApiContractAttribute Inherits Attribute
var apiContractAttribute = new apiContractAttribute();
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()
var apiContractAttribute = new apiContractAttribute();