ActivatableAttribute ActivatableAttribute ActivatableAttribute ActivatableAttribute Class

Definition

Indicates that the class is an activatable runtime class.

public : sealed class 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)

Creates and initializes a new instance of the attribute.

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

The type of the class.

version
unsigned int 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)

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(Platform::Type type, unsigned int version, Platform::String contractName)
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
Platform::Type Type Type Type

The type of the class.

version
unsigned int UInt32 UInt32 UInt32

The version of the API contract implementing the class.

contractName
Platform::String 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)

Creates and initializes a new instance of the attribute.

public : ActivatableAttribute(Platform::Type type, unsigned int version, Platform platform)
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
Platform::Type Type Type Type

The type of the class.

version
unsigned int UInt32 UInt32 UInt32

The version of the class.

platform
Platform Platform Platform Platform

A value of the enumeration. The default is Windows.

See Also

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

Creates and initializes a new instance of the attribute.

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

The version of the class.

See Also

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

Creates and initializes a new instance of the attribute.

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

The version of the class.

type
Platform::String String String String

A string representing the type of the factory interface.

See Also

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)
public ActivatableAttribute(UInt32 version, Platform platform)
Public Sub New(version As UInt32, platform As Platform)
var activatableAttribute = new activatableAttribute(version, platform);
Parameters
version
unsigned int UInt32 UInt32 UInt32

The version of the class.

platform
Platform Platform Platform Platform

A value of the enumeration. The default is Windows.

See Also

See Also