Creates an instance for the given type.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public Object CreateInstance(
	Type baseType,
	params Object[] constructorArguments
)

Parameters

baseType
Type: System..::.Type
Type of the base class.
constructorArguments
Type: array< System..::.Object >[]()[]
The constructor arguments.

Return Value

A new instance of the mapped class.

See Also