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-2024 • Updated: 06/29/24
Comment or report problem with topic