PortalSiteMapNode.GetNavigationChildren Method (NodeTypes, NodeTypes, OrderingMethod, AutomaticSortingMethod, Boolean, Int32)
Specifies the main entry point to get this PortalSiteMapMode child navigation node.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Overridable Function GetNavigationChildren ( _
includedTypes As NodeTypes, _
includedHiddenTypes As NodeTypes, _
ordering As OrderingMethod, _
method As AutomaticSortingMethod, _
ascending As Boolean, _
lcid As Integer _
) As SiteMapNodeCollection
'Usage
Dim instance As PortalSiteMapNode
Dim includedTypes As NodeTypes
Dim includedHiddenTypes As NodeTypes
Dim ordering As OrderingMethod
Dim method As AutomaticSortingMethod
Dim ascending As Boolean
Dim lcid As Integer
Dim returnValue As SiteMapNodeCollection
returnValue = instance.GetNavigationChildren(includedTypes, _
includedHiddenTypes, ordering, method, _
ascending, lcid)
public virtual SiteMapNodeCollection GetNavigationChildren(
NodeTypes includedTypes,
NodeTypes includedHiddenTypes,
OrderingMethod ordering,
AutomaticSortingMethod method,
bool ascending,
int lcid
)
Parameters
- includedTypes
Type: Microsoft.SharePoint.Publishing.NodeTypes
Specifies the node types to return.
- includedHiddenTypes
Type: Microsoft.SharePoint.Publishing.NodeTypes
Specifies the node types to return even if the nodes are hidden.
- ordering
Type: Microsoft.SharePoint.Publishing.OrderingMethod
Specifies the method to use to order the nodes.
- method
Type: Microsoft.SharePoint.Publishing.AutomaticSortingMethod
Specifies the type to use when using automatic sorting.
- ascending
Type: System.Boolean
Specifies whether to return results in ascending or descending order when using automatic sorting.
- lcid
Type: System.Int32
Specifies the locale ID to use if using automatic sorting.
Return Value
Type: System.Web.SiteMapNodeCollection
A NavigationSiteMapNodeCollection object containing this node's child navigation nodes.