GetModuleControlByControlKey gets a single Module Control from the database
Namespace: DotNetNuke.Entities.ModulesAssembly: 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