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.UIAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static DNNNodeCollection GetActionNodes( ModuleAction objActionRoot, DNNNode objRootNode, Control objControl, int intDepth ) |
Visual Basic |
---|
Public Shared Function GetActionNodes ( objActionRoot As ModuleAction, objRootNode As DNNNode, objControl As Control, intDepth As Integer ) As DNNNodeCollection |
Parameters
- objActionRoot
- Type: DotNetNuke.Entities.Modules.Actions..::..ModuleAction
Root module action
- objRootNode
- Type: DotNetNuke.UI.WebControls..::..DNNNode
Root node on which to populate children
- objControl
- Type: System.Web.UI..::..Control
ActionControl to base actions off of
- intDepth
- Type: System..::..Int32
How many levels deep should be populated