GetModuleControlByControlKey gets a single Module Control from the database

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

Syntax

C#
public static ModuleControlInfo GetModuleControlByControlKey(
	string controlKey,
	int moduleDefID
)
Visual Basic
Public Shared Function GetModuleControlByControlKey ( 
	controlKey As String,
	moduleDefID As Integer
) As ModuleControlInfo

Parameters

controlKey
Type: System..::..String
The key for the control
moduleDefID
Type: System..::..Int32
The ID of the Module Definition

Return Value

returnsM:DotNetNuke.Entities.Modules.ModuleControlController.GetModuleControlByControlKey(System.String,System.Int32)

See Also