Check whether the tab contains specific module.
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static bool ValidateModuleInTab( int tabId, string moduleName ) |
| Visual Basic |
|---|
Public Shared Function ValidateModuleInTab ( tabId As Integer, moduleName As String ) As Boolean |
Parameters
- tabId
- Type: System..::..Int32
The tab id.
- moduleName
- Type: System..::..String
The module need to check.