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

© West Wind Techologies, 2018 • Updated: 04/14/05
Comment or report problem with topic