Copies all modules in source page to a new page.
Namespace: DotNetNuke.Entities.ModulesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void CopyModules( TabInfo sourceTab, TabInfo destinationTab, bool asReference ) |
Visual Basic |
---|
Sub CopyModules ( sourceTab As TabInfo, destinationTab As TabInfo, asReference 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.