Copies the module to a new page.

Namespace: DotNetNuke.Entities.Modules
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public void CopyModule(
	ModuleInfo sourceModule,
	TabInfo destinationTab,
	string toPaneName,
	bool includeSettings
)
Visual Basic
Public Sub CopyModule ( 
	sourceModule As ModuleInfo,
	destinationTab As TabInfo,
	toPaneName As String,
	includeSettings As Boolean
)

Parameters

sourceModule
Type: DotNetNuke.Entities.Modules..::..ModuleInfo
The source module.
destinationTab
Type: DotNetNuke.Entities.Tabs..::..TabInfo
The destination tab.
toPaneName
Type: System..::..String
Name of to pane.
includeSettings
Type: System..::..Boolean
if set to true include settings.

Implements

IModuleController..::..CopyModule(ModuleInfo, TabInfo, String, Boolean)

See Also