ContactQueryResultOrdering Enum
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.
Specifies the order in which contacts are returned from a CreateContactQuery call.
public enum class ContactQueryResultOrdering
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class ContactQueryResultOrdering
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum ContactQueryResultOrdering
var value = Windows.Phone.PersonalInformation.ContactQueryResultOrdering.systemDefault
Public Enum ContactQueryResultOrdering
- Inheritance
-
ContactQueryResultOrdering
- Attributes
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
App capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
Fields
FamilyNameGivenName | 2 | Order by family name and then given name. |
GivenNameFamilyName | 1 | Order by given name and then family name. |
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for