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)


Public ReadOnly Property SortList As SortCollection
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.


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

See also


KeywordQuery class

KeywordQuery members

Microsoft.Office.Server.Search.Query namespace