ComposableAttribute 建構函式

定義

多載

ComposableAttribute(Type, CompositionType, UInt32)

建立並初始化 屬性的新實例。

ComposableAttribute(Type, CompositionType, UInt32, String)

建立並初始化 屬性的新實例。

ComposableAttribute(Type, CompositionType, UInt32, Type)

建立並初始化 屬性的新實例。

ComposableAttribute(Type, CompositionType, UInt32, Platform)

建立並初始化 屬性的新實例。

ComposableAttribute(Type, CompositionType, UInt32)

建立並初始化 屬性的新實例。

public:
 ComposableAttribute(Platform::Type ^ type, CompositionType compositionType, unsigned int version);
public ComposableAttribute(Type type, CompositionType compositionType, uint version);
function ComposableAttribute(type, compositionType, version)
Public Sub New (type As Type, compositionType As CompositionType, version As UInteger)

參數

type
TypeName Type

用來建立程式設計專案的 Factory 物件型別。

compositionType
CompositionType

其中一個列舉值。

version
UInt32

unsigned int

版本。

另請參閱

適用於

ComposableAttribute(Type, CompositionType, UInt32, String)

建立並初始化 屬性的新實例。

public:
 ComposableAttribute(Platform::Type ^ type, CompositionType compositionType, unsigned int version, Platform::String ^ contract);
public ComposableAttribute(Type type, CompositionType compositionType, uint version, string contract);
function ComposableAttribute(type, compositionType, version, contract)
Public Sub New (type As Type, compositionType As CompositionType, version As UInteger, contract As String)

參數

type
TypeName Type

用來建立程式設計專案的 Factory 物件型別。

compositionType
CompositionType

其中一個列舉值。

version
UInt32

unsigned int

組合處理站新增至執行時間類別啟用處理站的 API 合約版本。

contract
String

Platform::String

字串,表示實作 類別之 API 合約的類型。

適用於

ComposableAttribute(Type, CompositionType, UInt32, Type)

建立並初始化 屬性的新實例。

public:
 ComposableAttribute(Platform::Type ^ type, CompositionType compositionType, unsigned int version, Platform::Type ^ contract);
public ComposableAttribute(Type type, CompositionType compositionType, uint version, Type contract);
function ComposableAttribute(type, compositionType, version, contract)
Public Sub New (type As Type, compositionType As CompositionType, version As UInteger, contract As Type)

參數

type
TypeName Type

用來建立程式設計專案的 Factory 物件型別。

compositionType
CompositionType

其中一個列舉值。

version
UInt32

unsigned int

組合處理站新增至執行時間類別啟用處理站的 API 合約版本。

contract
TypeName Type

實作 類別的 API 合約類型。

另請參閱

適用於

ComposableAttribute(Type, CompositionType, UInt32, Platform)

建立並初始化 屬性的新實例。

public:
 ComposableAttribute(Platform::Type ^ type, CompositionType compositionType, unsigned int version, Platform platform);
public ComposableAttribute(Type type, CompositionType compositionType, uint version, Platform platform);
function ComposableAttribute(type, compositionType, version, platform)
Public Sub New (type As Type, compositionType As CompositionType, version As UInteger, platform As Platform)

參數

type
TypeName Type

用來建立程式設計專案的 Factory 物件型別。

compositionType
CompositionType

其中一個列舉值。

version
UInt32

unsigned int

版本。

platform
Platform

列舉值。 預設值為 Windows

另請參閱

適用於