ContactQueryOptions Class
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.
Represents query options for retrieving contacts using CreateContactQuery.
public ref class ContactQueryOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Phone.PhoneContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactQueryOptions final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Phone.PhoneContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactQueryOptions
function ContactQueryOptions()
Public NotInheritable Class ContactQueryOptions
- Inheritance
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| 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]
|
Constructors
| Name | Description |
|---|---|
| ContactQueryOptions() |
Initializes a new instance of the ContactQueryOptions class. |
Properties
| Name | Description |
|---|---|
| DesiredFields |
Gets or sets the list of properties that should be returned with each contact. |
| OrderBy |
Gets or sets the field used to order the contact query results. |