CreateObject creates a new object of Type TObject.

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static TObject CreateObject<TObject>(
	bool initialise
)
Visual Basic
Public Shared Function CreateObject(Of TObject) ( 
	initialise As Boolean
) As TObject

Parameters

initialise
Type: System..::..Boolean
A flag that indicates whether to initialise the object.

Type Parameters

TObject
The type of object to create.

Return Value

returnsM:DotNetNuke.Common.Utilities.CBO.CreateObject``1(System.Boolean)

See Also