Contacts Class
July 26, 2012
Provides methods and events for interacting with a user’s contact data.
Namespace:
Microsoft.Phone.UserData
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
The Contacts type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Accounts | Gets the accounts from which contacts are available. |
![]() | BaseUri | Gets the string used to indicate the data context. (Inherited from PhoneDataSharingContext.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteRequest<T> | Performs a search for objects in a data context. (Inherited from PhoneDataSharingContext.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | SearchAsync | Asynchronously searches for contacts in the user’s contact data. |
![]() | ToString | (Inherited from Object.) |
Windows® Phone provides an aggregated view of the user’s contact data across the user's different accounts. Information can come from sources such as data entered in the phone itself, social networking sites, and other data service providers. Not all data from all service providers is exposed publicly through this API. The StorageKind enumeration lists the possible sources of data.
