Share via


NavigationComparer.SortNavigationNodes method

Sorts the specified list using the specified configuration.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Sub SortNavigationNodes ( _
    nodes As List(Of PortalSiteMapNode) _
)
'Usage
Dim instance As NavigationComparer
Dim nodes As List(Of PortalSiteMapNode)

instance.SortNavigationNodes(nodes)
public void SortNavigationNodes(
    List<PortalSiteMapNode> nodes
)

Parameters

Remarks

The SortNavigationNodes(List<PortalSiteMapNode>) method respects the OrderingMethod parameter in that it sorts only nodes representing Web pages if the ManualWithAutomaticPageSorting option is specified, and applies the navigation concept of placing pages after any other items.

See also

Reference

NavigationComparer class

NavigationComparer members

Microsoft.SharePoint.Publishing.Navigation namespace

OrderingMethod

NavigationComparer