Gets the modules by definition.

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

Syntax

C#
ArrayList GetModulesByDefinition(
	int portalID,
	string definitionName
)
Visual Basic
Function GetModulesByDefinition ( 
	portalID As Integer,
	definitionName As String
) As ArrayList

Parameters

portalID
Type: System..::..Int32
The portal ID.
definitionName
Type: System..::..String
The name of the module definition.

Return Value

module collection

See Also