PreviousContractVersionAttribute 构造函数

定义

重载

PreviousContractVersionAttribute(String, UInt32, UInt32)

创建并初始化 特性的新实例。

PreviousContractVersionAttribute(Type, UInt32, UInt32)

创建并初始化 特性的新实例。

PreviousContractVersionAttribute(String, UInt32, UInt32, String)

创建并初始化 特性的新实例。

PreviousContractVersionAttribute(Type, UInt32, UInt32, Type)

创建并初始化 特性的新实例。

PreviousContractVersionAttribute(String, UInt32, UInt32)

创建并初始化 特性的新实例。

public:
 PreviousContractVersionAttribute(Platform::String ^ contract, unsigned int versionLow, unsigned int versionHigh);
 PreviousContractVersionAttribute(winrt::hstring const& contract, uint32_t const& versionLow, uint32_t const& versionHigh);
public PreviousContractVersionAttribute(string contract, uint versionLow, uint versionHigh);
function PreviousContractVersionAttribute(contract, versionLow, versionHigh)
Public Sub New (contract As String, versionLow As UInteger, versionHigh As UInteger)

参数

contract
String

Platform::String

winrt::hstring

上一个协定的名称。

versionLow
UInt32

unsigned int

uint32_t

类型关联到的上一个协定的第一个版本。

versionHigh
UInt32

unsigned int

uint32_t

与类型关联的上一个协定的最后一个版本。

另请参阅

适用于

PreviousContractVersionAttribute(Type, UInt32, UInt32)

创建并初始化 特性的新实例。

public:
 PreviousContractVersionAttribute(Platform::Type ^ contract, unsigned int versionLow, unsigned int versionHigh);
public PreviousContractVersionAttribute(Type contract, uint versionLow, uint versionHigh);
function PreviousContractVersionAttribute(contract, versionLow, versionHigh)
Public Sub New (contract As Type, versionLow As UInteger, versionHigh As UInteger)

参数

contract
TypeName Type

上一个协定的名称。

versionLow
UInt32

unsigned int

类型关联到的上一个协定的第一个版本。

versionHigh
UInt32

unsigned int

与类型关联的上一个协定的最后一个版本。

适用于

PreviousContractVersionAttribute(String, UInt32, UInt32, String)

创建并初始化 特性的新实例。

public:
 PreviousContractVersionAttribute(Platform::String ^ contract, unsigned int versionLow, unsigned int versionHigh, Platform::String ^ newContract);
 PreviousContractVersionAttribute(winrt::hstring const& contract, uint32_t const& versionLow, uint32_t const& versionHigh, winrt::hstring const& newContract);
public PreviousContractVersionAttribute(string contract, uint versionLow, uint versionHigh, string newContract);
function PreviousContractVersionAttribute(contract, versionLow, versionHigh, newContract)
Public Sub New (contract As String, versionLow As UInteger, versionHigh As UInteger, newContract As String)

参数

contract
String

Platform::String

winrt::hstring

上一个协定的名称。

versionLow
UInt32

unsigned int

uint32_t

类型关联到的上一个协定的第一个版本。

versionHigh
UInt32

unsigned int

uint32_t

与类型关联的上一个协定的最后一个版本。

newContract
String

Platform::String

winrt::hstring

类型所关联的新协定的名称。

另请参阅

适用于

PreviousContractVersionAttribute(Type, UInt32, UInt32, Type)

创建并初始化 特性的新实例。

public:
 PreviousContractVersionAttribute(Platform::Type ^ contract, unsigned int versionLow, unsigned int versionHigh, Platform::Type ^ newContract);
public PreviousContractVersionAttribute(Type contract, uint versionLow, uint versionHigh, Type newContract);
function PreviousContractVersionAttribute(contract, versionLow, versionHigh, newContract)
Public Sub New (contract As Type, versionLow As UInteger, versionHigh As UInteger, newContract As Type)

参数

contract
TypeName Type

上一个协定的名称。

versionLow
UInt32

unsigned int

类型关联到的上一个协定的第一个版本。

versionHigh
UInt32

unsigned int

与类型关联的上一个协定的最后一个版本。

newContract
TypeName Type

类型关联的新协定的类型。

另请参阅

适用于