ContactQueryOptions ContactQueryOptions ContactQueryOptions ContactQueryOptions ContactQueryOptions Class

Definition

Used to specify the query options when searching for contacts.

public : sealed class ContactQueryOptions : IContactQueryOptions
struct winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions : IContactQueryOptions
public sealed class ContactQueryOptions : IContactQueryOptions
Public NotInheritable Class ContactQueryOptions Implements IContactQueryOptions
var contactQueryOptions = new contactQueryOptions();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Constructors

ContactQueryOptions() ContactQueryOptions() ContactQueryOptions() ContactQueryOptions() ContactQueryOptions()

Initializes a new instance of the ContactQueryOptions class.

ContactQueryOptions(String) ContactQueryOptions(String) ContactQueryOptions(String) ContactQueryOptions(String) ContactQueryOptions(String)

Initializes a new instance of the ContactQueryOptions class.

ContactQueryOptions(String, ContactQuerySearchFields) ContactQueryOptions(String, ContactQuerySearchFields) ContactQueryOptions(String, ContactQuerySearchFields) ContactQueryOptions(String, ContactQuerySearchFields) ContactQueryOptions(String, ContactQuerySearchFields)

Initializes a new instance of the ContactQueryOptions class.

Properties

AnnotationListIds AnnotationListIds AnnotationListIds AnnotationListIds AnnotationListIds

Gets a list to which you can add ContactAnnotationList.Id values for which to search.

ContactListIds ContactListIds ContactListIds ContactListIds ContactListIds

Gets a list to which you can add ContactList.Id values for which to search.

DesiredFields DesiredFields DesiredFields DesiredFields DesiredFields

Gets or sets the desired fields a contact must have to match the query.

DesiredOperations DesiredOperations DesiredOperations DesiredOperations DesiredOperations

Gets or sets the desired annotation operations a contact must have to match the query.

IncludeContactsFromHiddenLists IncludeContactsFromHiddenLists IncludeContactsFromHiddenLists IncludeContactsFromHiddenLists IncludeContactsFromHiddenLists

Gets or sets a Boolean value indicating if the query results should include contacts from lists that are not shown in the user interface.

TextSearch TextSearch TextSearch TextSearch TextSearch

Gets a ContactQueryTextSearch object that can be used for text searches.