ContactQueryResultOrdering ContactQueryResultOrdering ContactQueryResultOrdering ContactQueryResultOrdering Enum


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

public : enum class ContactQueryResultOrdering
public enum ContactQueryResultOrdering
Public Enum ContactQueryResultOrdering
var value = Windows.Phone.PersonalInformation.ContactQueryResultOrdering.familyNameGivenName;
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
ID_CAP_CONTACTS [Windows Phone]


FamilyNameGivenName FamilyNameGivenName FamilyNameGivenName FamilyNameGivenName

Order by family name and then given name.

GivenNameFamilyName GivenNameFamilyName GivenNameFamilyName GivenNameFamilyName

Order by given name and then family name.

SystemDefault SystemDefault SystemDefault SystemDefault

The default ordering used by the operating system.


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