ComposableAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
參數
- compositionType
- CompositionType
其中一個列舉值。
- version
-
UInt32
unsigned int
版本。
另請參閱
- ComposableAttribute(Type, CompositionType, UInt32, Platform)
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32, Type)
適用於
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)
參數
- 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)
參數
- compositionType
- CompositionType
其中一個列舉值。
- version
-
UInt32
unsigned int
組合處理站新增至執行時間類別啟用處理站的 API 合約版本。
另請參閱
- ComposableAttribute(Type, CompositionType, UInt32, Platform)
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32)
適用於
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)
參數
- compositionType
- CompositionType
其中一個列舉值。
- version
-
UInt32
unsigned int
版本。
- platform
- Platform
列舉值。 預設值為 Windows。
另請參閱
- ComposableAttribute(Type, CompositionType, UInt32, String)
- ComposableAttribute(Type, CompositionType, UInt32, Type)
- ComposableAttribute(Type, CompositionType, UInt32)