ContactQueryResultOrdering ContactQueryResultOrdering ContactQueryResultOrdering ContactQueryResultOrdering ContactQueryResultOrdering Enum

Definition

Specifies the order in which contacts are returned from a CreateContactQuery call.

public : enum class ContactQueryResultOrdering
enum class winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering : int32_t
public enum ContactQueryResultOrdering
Public Enum ContactQueryResultOrdering
var value = Windows.Phone.PersonalInformation.ContactQueryResultOrdering.familyNameGivenName;
Attributes

Windows 10 requirements

Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_CONTACTS [Windows Phone]

Fields

FamilyNameGivenName FamilyNameGivenName FamilyNameGivenName FamilyNameGivenName FamilyNameGivenName 2

Order by family name and then given name.

GivenNameFamilyName GivenNameFamilyName GivenNameFamilyName GivenNameFamilyName GivenNameFamilyName 1

Order by given name and then family name.

SystemDefault SystemDefault SystemDefault SystemDefault SystemDefault 0

The default ordering used by the operating system.

Remarks

The results are returned as a ContactQueryResult object, and the order of results is manifested when you call GetContactsAsync.

See also