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

    true to sort in ascending order; otherwise, false.

  • lcid
    Type: System.Int32

    The locale identifier (ID) to use when sorting automatically .

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