ContactQueryOptions.OrderBy Property

Definition

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.

Applies to

See also