wwUtils.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 object CreateInstanceFromType( Type TypeToCreate );

Return Value

object

Parameters

TypeToCreate
The type from which to create an instance.


See also:

Class wwUtils


  Last Updated: 7/7/2008 | © West Wind Technologies, 2008