summaryM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)

Namespace: DotNetNuke.Data
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public virtual int AddModuleControl(
	int moduleDefId,
	string controlKey,
	string controlTitle,
	string controlSrc,
	string iconFile,
	int controlType,
	int viewOrder,
	string helpUrl,
	bool supportsPartialRendering,
	bool supportsPopUps,
	int createdByUserID
)
Visual Basic
Public Overridable Function AddModuleControl ( 
	moduleDefId As Integer,
	controlKey As String,
	controlTitle As String,
	controlSrc As String,
	iconFile As String,
	controlType As Integer,
	viewOrder As Integer,
	helpUrl As String,
	supportsPartialRendering As Boolean,
	supportsPopUps As Boolean,
	createdByUserID As Integer
) As Integer

Parameters

moduleDefId
Type: System..::..Int32
parammoduleDefIdM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
controlKey
Type: System..::..String
paramcontrolKeyM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
controlTitle
Type: System..::..String
paramcontrolTitleM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
controlSrc
Type: System..::..String
paramcontrolSrcM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
iconFile
Type: System..::..String
paramiconFileM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
controlType
Type: System..::..Int32
paramcontrolTypeM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
viewOrder
Type: System..::..Int32
paramviewOrderM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
helpUrl
Type: System..::..String
paramhelpUrlM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
supportsPartialRendering
Type: System..::..Boolean
paramsupportsPartialRenderingM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
supportsPopUps
Type: System..::..Boolean
paramsupportsPopUpsM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)
createdByUserID
Type: System..::..Int32
paramcreatedByUserIDM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)

Return Value

returnsM:DotNetNuke.Data.DataProvider.AddModuleControl(System.Int32,System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.String,System.Boolean,System.Boolean,System.Int32)

See Also