ReflectionUtils.CreateInstanceFromType

Creates an instance from a type by calling the parameterless constructor.

Note this will not work with COM objects - continue to use the Activator.CreateInstance for COM objects.

public static object CreateInstanceFromType(Type typeToCreate,
	Object[] args)

Return Value

object

Parameters

typeToCreate
The type from which to create an instance.

args


See also:

Class wwUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic