Share via


Windows.Phone.PersonalInformation Namespace

Provides APIs for managing a custom contact store.

Classes

ContactAddress

Represents a civic address for StoredContact objects.

ContactChangeRecord

Represents a change in contact information that occurred between revisions.

ContactInformation

Represents a contact without an association to a contact store.

ContactQueryOptions

Represents query options for retrieving contacts using CreateContactQuery.

ContactQueryResult

Represents the result of a contact query.

ContactStore

Represents the custom contact store for a Windows Phone app.

KnownContactProperties

Provides key names for accessing known properties for StoredContact or ContactInformation objects.

StoredContact

Represents a contact associated with a custom contact store.

Interfaces

IContactInformation

Defines the interface for contact information.

IContactInformation2

Provides additional contact properties.

Enums

ContactChangeType

Indicates the type of change represented by a ContactChangeRecord.

ContactQueryResultOrdering

Specifies the order in which contacts are returned from a CreateContactQuery call.

ContactStoreApplicationAccessMode

Specifies the application access mode for a custom contact store created with CreateOrOpenAsync.

ContactStoreSystemAccessMode

Specifies the system access mode for a custom contact store created with CreateOrOpenAsync.

VCardFormat

The format of a vCard.

Remarks

APIs in this namespace are typically used for a Microsoft Silverlight app for Windows Phone. For most scenarios, similar APIs exist that can be used by a Windows Runtime app for Windows Phone, and if you use these APIs you can apply much of your code to a universal app. See:

Note

There are some scenarios where you will need Windows.Phone.PersonalInformation API even when writing a Windows Runtime app. For example, see the Contact Picker app sample. For Windows Phone, the sample uses the Windows.Phone.PersonalInformation API to prepopulate the contact store for demonstration purposes.

See also