NavigationComparer members

Implements the generic IComparer interface that can sort PortalSiteMapNode objects for a given locale by title or date, and by ascending or descending order.

The NavigationComparer type exposes the following members.

Constructors

  Name Description
Public method NavigationComparer Constructs a NavigationComparer object.

Top

Methods

  Name Description
Public method Compare Compares two PortalSiteMapNode objects in accordance with the IComparer interface, based on the configuration.
Public method CompareProperties This member is reserved for internal use and is not intended to be used directly from your code..
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SortNavigationNodes Sorts the specified list using the specified configuration.
Public method ToString (Inherited from Object.)

Top

See also

Reference

NavigationComparer class

Microsoft.SharePoint.Publishing.Navigation namespace