ContactQueryOptions.OrderBy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the field used to order the contact query results.
public:
property ContactQueryResultOrdering OrderBy { ContactQueryResultOrdering get(); void set(ContactQueryResultOrdering value); };
ContactQueryResultOrdering OrderBy();
void OrderBy(ContactQueryResultOrdering value);
public ContactQueryResultOrdering OrderBy { get; set; }
var contactQueryResultOrdering = contactQueryOptions.orderBy;
contactQueryOptions.orderBy = contactQueryResultOrdering;
Public Property OrderBy As ContactQueryResultOrdering
Property Value
The field used to order the contact query results, as a value of the enumeration.
Windows requirements
App capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
Remarks
Generally, apps should use the SystemDefault ordering value. This will cause the results list to be ordered the same as when they are displayed in the built-in phone experience.