CreateObject creates a new object of Type TObject.
Namespace: DotNetNuke.Common.UtilitiesAssembly: 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.