This function provides a central location to obtain a generic node collection of the actions associated to a module based off of the current user's context

Namespace: DotNetNuke.UI
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static DNNNodeCollection GetActionNodes(
	ModuleAction objActionRoot,
	Control objControl
)
Visual Basic
Public Shared Function GetActionNodes ( 
	objActionRoot As ModuleAction,
	objControl As Control
) As DNNNodeCollection

Parameters

objActionRoot
Type: DotNetNuke.Entities.Modules.Actions..::..ModuleAction
Root module action
objControl
Type: System.Web.UI..::..Control
ActionControl to base actions off of

Return Value

returnsM:DotNetNuke.UI.Navigation.GetActionNodes(DotNetNuke.Entities.Modules.Actions.ModuleAction,System.Web.UI.Control)

Remarks