ContactStore ContactStore ContactStore ContactStore ContactStore Class

Definition

Represents the custom contact store for a Windows Phone app.

public : sealed class ContactStore
struct winrt::Windows::Phone::PersonalInformation::ContactStore
public sealed class ContactStore
Public NotInheritable Class ContactStore
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

RevisionNumber RevisionNumber RevisionNumber RevisionNumber RevisionNumber

Gets the revision number for the contact store.

Methods

CreateContactQuery() CreateContactQuery() CreateContactQuery() CreateContactQuery() CreateContactQuery()

Creates a contact query with the default options.

CreateContactQuery(ContactQueryOptions) CreateContactQuery(ContactQueryOptions) CreateContactQuery(ContactQueryOptions) CreateContactQuery(ContactQueryOptions) CreateContactQuery(ContactQueryOptions)

Creates a contact query with the custom options.

CreateMeContactAsync(String) CreateMeContactAsync(String) CreateMeContactAsync(String) CreateMeContactAsync(String) CreateMeContactAsync(String)

Establishes that the specified contact represents the current signed-in user of the device.

CreateOrOpenAsync() CreateOrOpenAsync() CreateOrOpenAsync() CreateOrOpenAsync() CreateOrOpenAsync()

Opens the app's custom contact store, creating the store with the default options if it does not already exist.

CreateOrOpenAsync(ContactStoreSystemAccessMode, ContactStoreApplicationAccessMode) CreateOrOpenAsync(ContactStoreSystemAccessMode, ContactStoreApplicationAccessMode) CreateOrOpenAsync(ContactStoreSystemAccessMode, ContactStoreApplicationAccessMode) CreateOrOpenAsync(ContactStoreSystemAccessMode, ContactStoreApplicationAccessMode) CreateOrOpenAsync(ContactStoreSystemAccessMode, ContactStoreApplicationAccessMode)

Opens the app's custom contact store, creating the store with the specified options if it does not already exist.

DeleteAsync() DeleteAsync() DeleteAsync() DeleteAsync() DeleteAsync()

Deletes the app's custom contact store.

DeleteContactAsync(String) DeleteContactAsync(String) DeleteContactAsync(String) DeleteContactAsync(String) DeleteContactAsync(String)

Deletes the contact with the specified ID from the contact store.

FindContactByIdAsync(String) FindContactByIdAsync(String) FindContactByIdAsync(String) FindContactByIdAsync(String) FindContactByIdAsync(String)

Retrieves the contact with the specified ID from the contact store.

FindContactByRemoteIdAsync(String) FindContactByRemoteIdAsync(String) FindContactByRemoteIdAsync(String) FindContactByRemoteIdAsync(String) FindContactByRemoteIdAsync(String)

Retrieves the contact with the specified remote ID from the contact store.

GetChangesAsync(UInt64) GetChangesAsync(UInt64) GetChangesAsync(UInt64) GetChangesAsync(UInt64) GetChangesAsync(UInt64)

Gets the list of changes to the contact store associated with the provided revision number.

LoadExtendedPropertiesAsync() LoadExtendedPropertiesAsync() LoadExtendedPropertiesAsync() LoadExtendedPropertiesAsync() LoadExtendedPropertiesAsync()

Loads the extended properties for the app's custom contact store.

SaveExtendedPropertiesAsync(IMapView<String, Object>) SaveExtendedPropertiesAsync(IMapView<String, Object>) SaveExtendedPropertiesAsync(IMapView<String, Object>) SaveExtendedPropertiesAsync(IMapView<String, Object>) SaveExtendedPropertiesAsync(IMapView<String, Object>)

Saves the provided list of name/value pairs to the custom contact store's extended properties.

See also