Click or drag to resize

TypeExtensionsCreateInstanceT Method

Creates type instance, using parameterless constructor.

Namespace:  Omada.OE.Solution.OIM.Assembly.AppLogic.Extensions
Assembly:  Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntax
C#
public static T CreateInstance<T>(
	this Type type
)

Parameters

type
Type: SystemType
The converted type

Type Parameters

T
The type.

Return Value

Type: T
Created instance.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also