Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IActivationFactory.ActivateInstance Method

.NET Framework 4.6 and 4.5

Returns a new instance of the Windows Runtime class that is created by the IActivationFactory interface.

Namespace:  System.Runtime.InteropServices.WindowsRuntime
Assemblies:   mscorlib (in mscorlib.dll)
  System.Runtime.InteropServices.WindowsRuntime (in System.Runtime.InteropServices.WindowsRuntime.dll)

Object ActivateInstance()

Return Value

Type: System.Object
The new instance of the Windows Runtime class.

.NET Framework

Supported in: 4.6, 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
© 2015 Microsoft