ActivatableAttribute クラス

定義

クラスがアクティブ化可能なランタイム クラスであることを示します。

C#
[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
継承
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)

ランタイム クラスを特定のバージョンからパラメーターでアクティブ化できることを示します。

適用対象

製品 バージョン
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

こちらもご覧ください