Creates an object

Namespace: DotNetNuke.Framework
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static Object CreateObject(
	string TypeName,
	string CacheKey,
	bool UseCache
)
Visual Basic
Public Shared Function CreateObject ( 
	TypeName As String,
	CacheKey As String,
	UseCache As Boolean
) As Object

Parameters

TypeName
Type: System..::..String
The fully qualified TypeName
CacheKey
Type: System..::..String
The Cache Key
UseCache
Type: System..::..Boolean
Caching switch

Return Value

The created Object

Remarks

Overload that takes a fully-qualified typename and a Cache Key

See Also