ContactQueryOptions
ContactQueryOptions
ContactQueryOptions
ContactQueryOptions
Class
Definition
Represents query options for retrieving contacts using CreateContactQuery.
public : sealed class ContactQueryOptions : IContactQueryOptionspublic sealed class ContactQueryOptions : IContactQueryOptionsPublic NotInheritable Class ContactQueryOptions Implements IContactQueryOptions// You can use this class in JavaScript.
- Attributes
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| Capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
Constructors
ContactQueryOptions() ContactQueryOptions() ContactQueryOptions() ContactQueryOptions()
Initializes a new instance of the ContactQueryOptions class.
public : ContactQueryOptions()public ContactQueryOptions()Public Sub New()// You can use this method in JavaScript.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| Capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
Properties
DesiredFields DesiredFields DesiredFields DesiredFields
Gets or sets the list of properties that should be returned with each contact.
public : IVector<string> DesiredFields { get; }public IList<string> DesiredFields { get; }Public ReadOnly Property DesiredFields As IList<string>// You can use this property in JavaScript.
- Value
- IVector<PlatForm::String> IList<string> IList<string> IList<string>
The list of properties that should be returned with each contact.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| Capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
Remarks
The default set of fields are those that are properties of the StoredContact class. Additional field names should be specified using one of the properties of KnownContactProperties class.
OrderBy OrderBy OrderBy OrderBy
Gets or sets the field used to order the contact query results.
public : ContactQueryResultOrdering OrderBy { get; set; }public ContactQueryResultOrdering OrderBy { get; set; }Public ReadWrite Property OrderBy As ContactQueryResultOrdering// You can use this property in JavaScript.
- Value
- ContactQueryResultOrdering ContactQueryResultOrdering ContactQueryResultOrdering ContactQueryResultOrdering
The field used to order the contact query results, as a value of the enumeration.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
| 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.
- See Also