SortDirection Enumeration
Defines the sort direction values for ordering search results.
Namespace: Microsoft.SharePoint.Search.Query
Assembly: Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)
Syntax
'Declaration
Public Enumeration SortDirection
'Usage
Dim instance As SortDirection
public enum SortDirection
Members
Member name | Description | |
---|---|---|
Ascending | Specifies that the search results are ordered in ascending order. | |
Descending | Specifies that the search results are ordered in descending order. |
Remarks
Use the values from the SortDirection enumeration with the Add() method of the SortCollection class, and with the SortDirection() property of the Sort class.