Check whether the tab contains specific module.

Namespace: DotNetNuke.Common
Assembly: 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.

Return Value

true if the tab contains the module, otherwise, false.

See Also