Share via


KeywordQuery.SortList property

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

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.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.SharePoint.Client.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.SharePoint.Client.Search.Query namespace