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
ordering
Type: Microsoft.SharePoint.Publishing.OrderingMethodOne of the OrderingMethod enumeration values.
method
Type: Microsoft.SharePoint.Publishing.AutomaticSortingMethodOne of the AutomaticSortingMethod enumeration values that specify which property to use when automatically sorting navigation items.
ascending
Type: System.Booleantrue to sort in ascending order; otherwise, false.
lcid
Type: System.Int32A 32-bit signed integer representing the locale identifier (ID).