Share via


Sort.Direction Property

Gets the direction in 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 Direction As SortDirection
    Get
'Usage
Dim instance As Sort
Dim value As SortDirection

value = instance.Direction
public SortDirection Direction { get; }

Property Value

Type: Microsoft.Office.Server.Search.Query.SortDirection
A value from the SortDirection enumeration specifying the sort direction for search results.

See Also

Reference

Sort Class

Sort Members

Microsoft.Office.Server.Search.Query Namespace