AddModuleToPage adds a module to a Page
Namespace: DotNetNuke.Services.UpgradeAssembly: 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