SEARCH_RESULT_SORT_ORDER

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This enumeration contains values that indicate the sort order for the search results.

Syntax

typedef enum {
        SORT_ORDER_BY_DISTANCE = 1,
        SORT_ORDER_BY_RELEVANCE,
        LAST_SORT_ORDER_INDEX
} SEARCH_RESULT_SORT_ORDER;

Members

  • SORT_ORDER_BY_DISTANCE
    Indicates that the search results will be returned by distance from the location, or from the search center of the location, that is specified in the search request.

    The results with the shortest distance from the specified location will appear at the top of the results list.

  • SORT_ORDER_BY_RELEVANCE
    Indicates that the search results will be returned by relevance of the response to the query.

    The results with the highest relevance will appear at the top of the results list.

  • LAST_SORT_ORDER_INDEX
    Represents the last indexed item in this enumeration. This value is used to indicate the end of the enumeration and is not a valid enumerated value.

Remarks

By default, query results are returned by using SORT_ORDER_BY_DISTANCE.

Requirements

Header localsearch.h
Library localsearch.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

PhoneBookSearchRequest
LS4D Enumerations