AddModuleControl adds a new Module Control to the system
Namespace: DotNetNuke.Services.UpgradeAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static void AddModuleControl( int moduleDefId, string controlKey, string controlTitle, string controlSrc, string iconFile, SecurityAccessLevel controlType, int viewOrder ) |
Visual Basic |
---|
Public Shared Sub AddModuleControl ( moduleDefId As Integer, controlKey As String, controlTitle As String, controlSrc As String, iconFile As String, controlType As SecurityAccessLevel, viewOrder As Integer ) |
Parameters
- moduleDefId
- Type: System..::..Int32
The Module Definition Id
- controlKey
- Type: System..::..String
The key for this control in the Definition
- controlTitle
- Type: System..::..String
The title of this control
- controlSrc
- Type: System..::..String
Te source of ths control
- iconFile
- Type: System..::..String
The icon file
- controlType
- Type: DotNetNuke.Security..::..SecurityAccessLevel
The type of control
- viewOrder
- Type: System..::..Int32
The vieworder for this module