ActivatableAttribute ActivatableAttribute ActivatableAttribute ActivatableAttribute ActivatableAttribute Class

Definition

Indicates that the class is an activatable runtime class.

public : sealed class ActivatableAttribute : Attribute
struct winrt::Windows::Foundation::Metadata::ActivatableAttribute : Attribute
public sealed class ActivatableAttribute : Attribute
Public NotInheritable Class ActivatableAttribute Inherits Attribute
var activatableAttribute = new activatableAttribute(type, version);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

ActivatableAttribute(Type, UInt32) ActivatableAttribute(Type, UInt32) ActivatableAttribute(Type, UInt32) ActivatableAttribute(Type, UInt32) ActivatableAttribute(Type, UInt32)

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(Platform::Type type, unsigned int version)
ActivatableAttribute(Type type, uint32_t version) const;
public ActivatableAttribute(Type type, UInt32 version)
Public Sub New(type As Type, version As UInt32)
var activatableAttribute = new activatableAttribute(type, version);
Parameters
type
Type Type Type

The type of the class.

version
UInt32 UInt32 UInt32

The version of the class.

See Also

ActivatableAttribute(Type, UInt32, String) ActivatableAttribute(Type, UInt32, String) ActivatableAttribute(Type, UInt32, String) ActivatableAttribute(Type, UInt32, String) ActivatableAttribute(Type, UInt32, String)

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(Platform::Type type, unsigned int version, Platform::String contractName)
ActivatableAttribute(Type type, uint32_t version, winrt::hstring contractName) const;
public ActivatableAttribute(Type type, UInt32 version, String contractName)
Public Sub New(type As Type, version As UInt32, contractName As String)
var activatableAttribute = new activatableAttribute(type, version, contractName);
Parameters
type
Type Type Type

The type of the class.

version
UInt32 UInt32 UInt32

The version of the API contract implementing the class.

contractName
String String String

A string representing the type of the API contract implementing the class.

See Also

ActivatableAttribute(Type, UInt32, Platform) ActivatableAttribute(Type, UInt32, Platform) ActivatableAttribute(Type, UInt32, Platform) ActivatableAttribute(Type, UInt32, Platform) ActivatableAttribute(Type, UInt32, Platform)

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(Platform::Type type, unsigned int version, Platform platform)
ActivatableAttribute(Type type, uint32_t version, Platform platform) const;
public ActivatableAttribute(Type type, UInt32 version, Platform platform)
Public Sub New(type As Type, version As UInt32, platform As Platform)
var activatableAttribute = new activatableAttribute(type, version, platform);
Parameters
type
Type Type Type

The type of the class.

version
UInt32 UInt32 UInt32

The version of the class.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

See Also

ActivatableAttribute(UInt32) ActivatableAttribute(UInt32) ActivatableAttribute(UInt32) ActivatableAttribute(UInt32) ActivatableAttribute(UInt32)

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(unsigned int version)
ActivatableAttribute(uint32_t version) const;
public ActivatableAttribute(UInt32 version)
Public Sub New(version As UInt32)
var activatableAttribute = new activatableAttribute(version);
Parameters
version
UInt32 UInt32 UInt32

The version of the class.

See Also

ActivatableAttribute(UInt32, String) ActivatableAttribute(UInt32, String) ActivatableAttribute(UInt32, String) ActivatableAttribute(UInt32, String) ActivatableAttribute(UInt32, String)

ActivatableAttribute(UInt32, Platform) ActivatableAttribute(UInt32, Platform) ActivatableAttribute(UInt32, Platform) ActivatableAttribute(UInt32, Platform) ActivatableAttribute(UInt32, Platform)

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(unsigned int version, Platform platform)
ActivatableAttribute(uint32_t version, Platform platform) const;
public ActivatableAttribute(UInt32 version, Platform platform)
Public Sub New(version As UInt32, platform As Platform)
var activatableAttribute = new activatableAttribute(version, platform);
Parameters
version
UInt32 UInt32 UInt32

The version of the class.

platform
Platform Platform Platform

A value of the enumeration. The default is Windows.

See Also

See Also