Share via


KeywordQuery.EnableSorting property

A Boolean value that indicates whether the search results should be sorted.

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)

Syntax

'Declaration
Public Property EnableSorting As Boolean
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As Boolean

value = instance.EnableSorting

instance.EnableSorting = value
public bool EnableSorting { get; set; }

Property value

Type: System.Boolean

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.SharePoint.Client.Search.Query namespace