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.

Syntax:

public object CreateInstanceFromType( Type TypeToCreate );
Return: object
Parameters: TypeToCreate
The type from which to create an instance.

See also:

Class wwUtils


Last Updated: 1/28/2007 | Send topic feedback