Share via


ContactQueryOptions Class

Definition

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
Object Platform::Object IInspectable ContactQueryOptions
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]

Constructors

ContactQueryOptions()

Initializes a new instance of the ContactQueryOptions class.

Properties

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.

Applies to