GetDesktopModules gets a Dictionary of Desktop Modules

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

Syntax

C#
public static Dictionary<int, DesktopModuleInfo> GetDesktopModules(
	int portalID
)
Visual Basic
Public Shared Function GetDesktopModules ( 
	portalID As Integer
) As Dictionary(Of Integer, DesktopModuleInfo)

Parameters

portalID
Type: System..::..Int32
The ID of the Portal (Use PortalID = Null.NullInteger (-1) to get all the DesktopModules including Modules not allowed for the current portal

Return Value

returnsM:DotNetNuke.Entities.Modules.DesktopModuleController.GetDesktopModules(System.Int32)

See Also