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, 2019 • Updated: 06/23/19
Comment or report problem with topic