Click or drag to resize
ActivatorCreateInstance Method (ActivationContext)
Creates an instance of the type designated by the specified ActivationContext object.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static ObjectHandle CreateInstance(
	ActivationContext activationContext
)

Parameters

activationContext
Type: SystemActivationContext
An activation context object that specifies the object to create.

Return Value

Type: ObjectHandle
A handle that must be unwrapped to access the newly created object.
See Also