MoveModule moes a Module from one Tab to another including all the TabModule settings

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

Syntax

C#
void MoveModule(
	int moduleId,
	int fromTabId,
	int toTabId,
	string toPaneName
)
Visual Basic
Sub MoveModule ( 
	moduleId As Integer,
	fromTabId As Integer,
	toTabId As Integer,
	toPaneName As String
)

Parameters

moduleId
Type: System..::..Int32
The Id of the module to move
fromTabId
Type: System..::..Int32
The Id of the source tab
toTabId
Type: System..::..Int32
The Id of the destination tab
toPaneName
Type: System..::..String
The name of the Pane on the destination tab where the module will end up

See Also