Mono Class Library: System.Activator Overview | Members

System.Activator.CreateInstance Method

Create an instance of a given Type, providing a list of parameters to pass to the constructor.

public static object CreateInstance (Type type, params object[] args)

Parameters

type
The Type to create an instance of.
args
The parameters to pass to the type's constructor.

Returns

The created instance of the Type.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0