West Wind Application Settings for .NET |
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.
Syntax: |
public object CreateInstanceFromType( Type TypeToCreate ); |
| Return: | object |
| Parameters: |
TypeToCreate The type from which to create an instance.
|