ContactStore ContactStore ContactStore ContactStore ContactStore Class

Definition

Represents a database that contains contacts.

public : sealed class ContactStore : IContactStore, IContactStore2, IContactStore3
struct winrt::Windows::ApplicationModel::Contacts::ContactStore : IContactStore, IContactStore2, IContactStore3
public sealed class ContactStore : IContactStore, IContactStore2, IContactStore3
Public NotInheritable Class ContactStore Implements IContactStore, IContactStore2, IContactStore3
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Remarks

To get a ContactStore object, call the static utility method ContactManager.RequestStoreAsync.

Properties

AggregateContactManager AggregateContactManager AggregateContactManager AggregateContactManager AggregateContactManager

Gets a contact manager that provides functionality for linking individual (raw) contacts across services together into a single aggregate contact.

ChangeTracker ChangeTracker ChangeTracker ChangeTracker ChangeTracker

Gets the ContactChangeTracker which provides functionality for monitoring changes to Contact objects in the ContactStore.

Methods

CreateContactListAsync(String) CreateContactListAsync(String) CreateContactListAsync(String) CreateContactListAsync(String) CreateContactListAsync(String)

Asynchronously creates a ContactList with the specified display name.

CreateContactListAsync(String, String) CreateContactListAsync(String, String) CreateContactListAsync(String, String) CreateContactListAsync(String, String) CreateContactListAsync(String, String)

Asynchronously creates a ContactList with the specified display name and user account.

FindContactListsAsync() FindContactListsAsync() FindContactListsAsync() FindContactListsAsync() FindContactListsAsync()

Asynchronously returns the list of ContactList objects.

FindContactsAsync() FindContactsAsync() FindContactsAsync() FindContactsAsync() FindContactsAsync()

Retrieves the list of all contacts in the contact store.

FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String)

Retrieves a list of Contact objects based on the supplied search text.

GetChangeTracker(String) GetChangeTracker(String) GetChangeTracker(String) GetChangeTracker(String) GetChangeTracker(String)

Gets a ContactChangeTracker that provides functionality for monitoring changes to Contact objects in the ContactStore.

GetContactAsync(String) GetContactAsync(String) GetContactAsync(String) GetContactAsync(String) GetContactAsync(String)

Retrieves a Contact object representing the contact with the specified Id value.

GetContactListAsync(String) GetContactListAsync(String) GetContactListAsync(String) GetContactListAsync(String) GetContactListAsync(String)

Asynchronously gets the ContactList with the specified ID.

GetContactReader() GetContactReader() GetContactReader() GetContactReader() GetContactReader()

Creates and returns a ContactReader for the ContactStore.

GetContactReader(ContactQueryOptions) GetContactReader(ContactQueryOptions) GetContactReader(ContactQueryOptions) GetContactReader(ContactQueryOptions) GetContactReader(ContactQueryOptions)

Creates and returns a ContactReader for the ContactStore with the specified ContactQueryOptions.

GetMeContactAsync() GetMeContactAsync() GetMeContactAsync() GetMeContactAsync() GetMeContactAsync()

Get the Contact object for the current user.

Events

ContactChanged ContactChanged ContactChanged ContactChanged ContactChanged

Occurs when a Contact in the ContactStore has been changed.

See Also