For a portal get a list of all active module and tabmodule references that are Searchable either by inheriting from ModuleSearchBase or implementing the older ISearchable interface.

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

Syntax

C#
ArrayList GetSearchModules(
	int portalID
)
Visual Basic
Function GetSearchModules ( 
	portalID As Integer
) As ArrayList

Parameters

portalID
Type: System..::..Int32
ID of the portal to be searched

Return Value

Arraylist of ModuleInfo for modules supporting search.

See Also