Imports the content of a module

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

Syntax

C#
void ImportModule(
	int ModuleID,
	string Content,
	string Version,
	int UserID
)
Visual Basic
Sub ImportModule ( 
	ModuleID As Integer,
	Content As String,
	Version As String,
	UserID As Integer
)

Parameters

ModuleID
Type: System..::..Int32
The ID of the module into which the content is being imported
Content
Type: System..::..String
The content to import
Version
Type: System..::..String
The version of the module from which the content is coming
UserID
Type: System..::..Int32
The ID of the user performing the import

See Also