Share via


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

  • 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.

See Also

Reference

PortalSiteMapNode Class

PortalSiteMapNode Members

GetNavigationChildren Overload

Microsoft.SharePoint.Publishing.Navigation Namespace