Windows Dev Center

ActivatableAttribute attribute

Indicates that the class is an activatable runtime class.

Syntax


public ref class ActivatableAttribute sealed : Attribute

Members

The ActivatableAttribute attribute has these types of members:

Constructors

The ActivatableAttribute attribute has these constructors.

ConstructorDescription
ActivatableAttribute(Type, UInt32) Creates and initializes a new instance of the attribute.
ActivatableAttribute(Type, UInt32, Platform) Creates and initializes a new instance of the attribute.
ActivatableAttribute(UInt32) Creates and initializes a new instance of the attribute.
ActivatableAttribute(UInt32, Platform) Creates and initializes a new instance of the attribute.

 

Methods

The ActivatableAttribute attribute inherits methods from the Object class (C#/VB/C++).

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

Attributes

[AllowMultiple()]
[AttributeUsage(512)]
[Version(0x6020000)]

See also

Object
Attribute

 

 

Show:
© 2015 Microsoft