Share via


NavigationComparer constructor

Constructs a NavigationComparer object.

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

Syntax

'Declaration
Public Sub New ( _
    ordering As OrderingMethod, _
    method As AutomaticSortingMethod, _
    ascending As Boolean, _
    lcid As Integer _
)
'Usage
Dim ordering As OrderingMethod
Dim method As AutomaticSortingMethod
Dim ascending As Boolean
Dim lcid As Integer

Dim instance As New NavigationComparer(ordering, _
    method, ascending, lcid)
public NavigationComparer(
    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

    A 32-bit signed integer representing the locale identifier (ID).

See also

Reference

NavigationComparer class

NavigationComparer members

Microsoft.SharePoint.Publishing.Navigation namespace