Copies all modules in source page to a new page.

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

Syntax

C#
public void CopyModules(
	TabInfo sourceTab,
	TabInfo destinationTab,
	bool asReference,
	bool includeAllTabsMobules
)
Visual Basic
Public Sub CopyModules ( 
	sourceTab As TabInfo,
	destinationTab As TabInfo,
	asReference As Boolean,
	includeAllTabsMobules As Boolean
)

Parameters

sourceTab
Type: DotNetNuke.Entities.Tabs..::..TabInfo
The source tab.
destinationTab
Type: DotNetNuke.Entities.Tabs..::..TabInfo
The destination tab.
asReference
Type: System..::..Boolean
if set to true will use source module directly, else will create new module info by source module.
includeAllTabsMobules
Type: System..::..Boolean
if set to true will include modules which shown on all pages, this is used when create localized copy.

Implements

IModuleController..::..CopyModules(TabInfo, TabInfo, Boolean, Boolean)

See Also