Implements the generic
IComparer interface that can sort objects for a given locale by title or date, and by ascending or descending order. PortalSiteMapNode
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class NavigationComparer : IComparer<PortalSiteMapNode>
Using this class through the
IComparer interface might not result in the same sort order as the sort order that results from using the method. The SortNavigationNodes method is used to sort child collections when necessary. SortNavigationNodes
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
( 1500 characters remaining)
Thank you for your feedback