ContactStore class

Applies to Windows Phone only

Represents the custom contact store for a Windows Phone app.

Syntax


public ref class ContactStore sealed 

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The ContactStore class has these types of members:

Methods

The ContactStore class has these methods. It also inherits methods from the Object class.

MethodDescription
CreateContactQuery Creates a contact query with the default options.
CreateContactQuery(ContactQueryOptions) Creates a contact query with the custom options.
CreateMeContactAsync Establishes that the specified contact represents the current signed-in user of the device.
CreateOrOpenAsync Opens the app's custom contact store, creating the store with the default options if it does not already exist.
CreateOrOpenAsync(ContactStoreSystemAccessMode,ContactStoreApplicationAccessMode) Opens the app's custom contact store, creating the store with the specified options if it does not already exist.
DeleteAsync Deletes the app's custom contact store.
DeleteContactAsync Deletes the contact with the specified ID from the contact store.
FindContactByIdAsync Retrieves the contact with the specified ID from the contact store.
FindContactByRemoteIdAsync Retrieves the contact with the specified remote ID from the contact store.
GetChangesAsync Gets the list of changes to the contact store associated with the provided revision number.
LoadExtendedPropertiesAsync Loads the extended properties for the app's custom contact store.
SaveExtendedPropertiesAsync Saves the provided list of name/value pairs to the custom contact store's extended properties.

 

Properties

The ContactStore class has these properties.

PropertyAccess typeDescription

RevisionNumber

Read-onlyGets the revision number for the contact store.

 

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.winmd

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

Object

 

 

Community Additions

ADD
Show:
© 2014 Microsoft