KeywordQuery.SortList property

Gets the list of properties by which the search results are ordered.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public ReadOnly Property SortList As SortCollection
    Get
'Usage
Dim instance As KeywordQuery
Dim value As SortCollection

value = instance.SortList
public SortCollection SortList { get; }

Property value

Type: Microsoft.Office.Server.Search.Query.SortCollection
The list of properties and direction by which the search results are ordered.

Remarks

To learn more about modifying the way search results are sorted, see Sorting search results in SharePoint 2013.

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.Office.Server.Search.Query namespace