PreviousContractVersionAttribute PreviousContractVersionAttribute PreviousContractVersionAttribute PreviousContractVersionAttribute PreviousContractVersionAttribute Class

Definition

Indicates that the type was previously associated with a different API contract.

public : sealed class PreviousContractVersionAttribute : Attribute
struct winrt::Windows::Foundation::Metadata::PreviousContractVersionAttribute : Attribute
public sealed class PreviousContractVersionAttribute : Attribute
Public NotInheritable Class PreviousContractVersionAttribute Inherits Attribute
var previousContractVersionAttribute = new previousContractVersionAttribute(contract, versionLow, versionHigh);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Remarks

This attribute is present if a type has been moved from one API contract to another type. It expresses the history of the type in relation to the API contracts in which it has existed.

Constructors

PreviousContractVersionAttribute(String, UInt32, UInt32) PreviousContractVersionAttribute(String, UInt32, UInt32) PreviousContractVersionAttribute(String, UInt32, UInt32) PreviousContractVersionAttribute(String, UInt32, UInt32) PreviousContractVersionAttribute(String, UInt32, UInt32)

Creates and initializes a new instance of the attribute.

PreviousContractVersionAttribute(String, UInt32, UInt32, String) PreviousContractVersionAttribute(String, UInt32, UInt32, String) PreviousContractVersionAttribute(String, UInt32, UInt32, String) PreviousContractVersionAttribute(String, UInt32, UInt32, String) PreviousContractVersionAttribute(String, UInt32, UInt32, String)

Creates and initializes a new instance of the attribute.