AddModuleToPage adds a module to a Page

Namespace: DotNetNuke.Services.Upgrade
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static int AddModuleToPage(
	TabInfo page,
	int moduleDefId,
	string moduleTitle,
	string moduleIconFile,
	bool inheritPermissions
)
Visual Basic
Public Shared Function AddModuleToPage ( 
	page As TabInfo,
	moduleDefId As Integer,
	moduleTitle As String,
	moduleIconFile As String,
	inheritPermissions As Boolean
) As Integer

Parameters

page
Type: DotNetNuke.Entities.Tabs..::..TabInfo
The Page to add the Module to
moduleDefId
Type: System..::..Int32
The Module Deinition Id for the module to be aded to this tab
moduleTitle
Type: System..::..String
The Module's title
moduleIconFile
Type: System..::..String
The Module's icon
inheritPermissions
Type: System..::..Boolean
Inherit the Pages View Permisions

Return Value

returnsM:DotNetNuke.Services.Upgrade.Upgrade.AddModuleToPage(DotNetNuke.Entities.Tabs.TabInfo,System.Int32,System.String,System.String,System.Boolean)

Remarks