ActivatableAttribute.ActivatableAttribute(Type, UInt32, Type) constructor

Note  This API is not implemented by version 2.0 of its API contract.

 

Creates and initializes a new instance of the attribute.

Syntax

var activatableAttribute = new Windows.Foundation.Metadata.ActivatableAttribute(type, version, contractName);
public ActivatableAttribute(
  Type type, 
  uint version, 
  Type contractName
)
Public Sub New (
  type As Type,  
  version As UInteger,  
  contractName As Type 
)
public:
ActivatableAttribute(
  Type^ type, 
  unsigned int version, 
  Type^ contractName
)

Parameters

  • type
    Type: Type

    The type of the class.

  • version
    Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

    The version of the API contract implementing the class.

  • contractName
    Type: Type

    The type of the API contract implementing the class.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.FoundationContract.winmd

See also

ActivatableAttribute

ActivatableAttribute(UInt32)

ActivatableAttribute(UInt32, Type)

ActivatableAttribute(UInt32, Platform)

ActivatableAttribute(Type, UInt32)

ActivatableAttribute(Type, UInt32, Platform)