OrderBy property
Collapse the table of content
Expand the table of content

ContactQueryOptions.OrderBy property

Gets or sets the field used to order the contact query results.

Syntax


public:
property ContactQueryResultOrdering OrderBy { 
   ContactQueryResultOrdering get();
   void set (ContactQueryResultOrdering value);
}

Property value

Type: ContactQueryResultOrdering

The field used to order the contact query results, as a value of the enumeration.

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.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

ContactQueryOptions
ContactQueryResultOrdering

 

 

Show:
© 2016 Microsoft