Creates an object

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

Syntax

C#
public static Object CreateObject(
	string ObjectProviderType,
	string ObjectNamespace,
	string ObjectAssemblyName
)
Visual Basic
Public Shared Function CreateObject ( 
	ObjectProviderType As String,
	ObjectNamespace As String,
	ObjectAssemblyName As String
) As Object

Parameters

ObjectProviderType
Type: System..::..String
The type of Object to create (data/navigation)
ObjectNamespace
Type: System..::..String
The namespace of the object to create.
ObjectAssemblyName
Type: System..::..String
The assembly of the object to create.

Return Value

The created Object

Remarks

Overload for creating an object from a Provider including NameSpace and AssemblyName ( this allows derived providers to share the same config )

See Also