KeywordQuery.EnableSorting property

NOTE: This API is now obsolete.

Indicates whether results are to be sorted If true, results are sorted using SortList, or by rank if SortList is empy If false, results are not sorted

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property EnableSorting As Boolean
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As Boolean

value = instance.EnableSorting

instance.EnableSorting = value
[ObsoleteAttribute("This class is obsolete.")]
public bool EnableSorting { get; set; }

Property value

Type: System.Boolean

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.SharePoint.Search.Query namespace