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
nodes
Type: System.Collections.Generic.List<PortalSiteMapNode>The list of PortalSiteMapNode objects to be sorted.
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.