ActivatableAttribute ActivatableAttribute ActivatableAttribute ActivatableAttribute Class

Indicates that the class is an activatable runtime class.

Syntax

Declaration

public sealed class ActivatableAttributepublic sealed class ActivatableAttributePublic NotInheritable Class ActivatableAttributepublic sealed class ActivatableAttribute

Constructors summary

Creates and initializes a new instance of the attribute.

Creates and initializes a new instance of the attribute.

Creates and initializes a new instance of the attribute.

Creates and initializes a new instance of the attribute.

Creates and initializes a new instance of the attribute.

Creates and initializes a new instance of the attribute.

Constructors

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

    Creates and initializes a new instance of the attribute.

    public ActivatableAttribute(Type type, UInt32 version)public New(Type type, UInt32 version)Public Sub New(type As Type, version As UInt32)public ActivatableAttribute(Type type, UInt32 version)

    Parameters

    • type
      System.Type
      System.Type
      System.Type
      System.Type

      The type of the class.

    • version
      System.UInt32
      System.UInt32
      System.UInt32
      System.UInt32

      The version of the class.

  • 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(Type type, UInt32 version, String contractName)public New(Type type, UInt32 version, String contractName)Public Sub New(type As Type, version As UInt32, contractName As String)public ActivatableAttribute(Type type, UInt32 version, String contractName)

    Parameters

    • type
      System.Type
      System.Type
      System.Type
      System.Type

      The type of the class.

    • version
      System.UInt32
      System.UInt32
      System.UInt32
      System.UInt32

      The version of the API contract implementing the class.

    • contractName
      System.String
      System.String
      System.String
      System.String

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

  • 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(Type type, UInt32 version, Platform platform)public New(Type type, UInt32 version, Platform platform)Public Sub New(type As Type, version As UInt32, platform As Platform)public ActivatableAttribute(Type type, UInt32 version, Platform platform)

    Parameters

    • type
      System.Type
      System.Type
      System.Type
      System.Type

      The type of the class.

    • version
      System.UInt32
      System.UInt32
      System.UInt32
      System.UInt32

      The version of the class.

    • platform

      A value of the enumeration. The default is Windows.

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

    Creates and initializes a new instance of the attribute.

    public ActivatableAttribute(UInt32 version)public New(UInt32 version)Public Sub New(version As UInt32)public ActivatableAttribute(UInt32 version)

    Parameters

    • version
      System.UInt32
      System.UInt32
      System.UInt32
      System.UInt32

      The version of the class.

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

    Creates and initializes a new instance of the attribute.

    public ActivatableAttribute(UInt32 version, String type)public New(UInt32 version, String type)Public Sub New(version As UInt32, type As String)public ActivatableAttribute(UInt32 version, String type)

    Parameters

    • version
      System.UInt32
      System.UInt32
      System.UInt32
      System.UInt32

      The version of the class.

    • type
      System.String
      System.String
      System.String
      System.String

      A string representing the type of the factory interface.

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

    Creates and initializes a new instance of the attribute.

    public ActivatableAttribute(UInt32 version, Platform platform)public New(UInt32 version, Platform platform)Public Sub New(version As UInt32, platform As Platform)public ActivatableAttribute(UInt32 version, Platform platform)

    Parameters

    • version
      System.UInt32
      System.UInt32
      System.UInt32
      System.UInt32

      The version of the class.

    • platform

      A value of the enumeration. The default is Windows.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.FoundationContract (introduced v1)

Attributes

Windows.Foundation.Metadata.AllowMultipleAttribute
Windows.Foundation.Metadata.AttributeUsageAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Foundation.Metadata.dll