ActivatorCreateInstance Method (ActivationContext) |
Creates an instance of the type designated by the specified ActivationContext object.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static ObjectHandle CreateInstance(
ActivationContext activationContext
)
Parameters
- activationContext
- Type: SystemActivationContext
An activation context object that specifies the object to create.
Return Value
Type:
ObjectHandleA handle that must be unwrapped to access the newly created object.
See Also