ActivatableAttribute 類別

定義

表示類別是可啟動的執行時間類別。

public ref class ActivatableAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AllowMultiple]
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class ActivatableAttribute final : Attribute
[Windows.Foundation.Metadata.AllowMultiple]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class ActivatableAttribute : Attribute
Public NotInheritable Class ActivatableAttribute
Inherits Attribute
繼承
ActivatableAttribute
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.FoundationContract (已於 v1.0 引進)

建構函式

ActivatableAttribute(Type, UInt32)

指出執行時間類別可以使用參數啟動,從特定版本開始。

ActivatableAttribute(Type, UInt32, Platform)

指出執行時間類別可以使用參數啟動,從特定平臺的特定版本開始。

ActivatableAttribute(Type, UInt32, String)

表示可以使用參數啟動執行時間類別,從特定版本的特定 API 合約開始。

ActivatableAttribute(Type, UInt32, Type)

表示可以使用參數啟動執行時間類別,從特定版本的特定 API 合約開始。

ActivatableAttribute(UInt32)

指出執行時間類別可以在沒有參數時啟動,從特定版本開始。

ActivatableAttribute(UInt32, Platform)

指出執行時間類別可以在沒有參數時啟動,從特定平臺的特定版本開始。

ActivatableAttribute(UInt32, String)

指出執行時間類別可以在沒有參數時啟動,從特定 API 合約的特定版本開始。

ActivatableAttribute(UInt32, Type)

指出執行時間類別可以使用參數啟動,從特定版本開始。

適用於

另請參閱