Windows Phone Mango–What’s New? (“Local Data” – Part 2 of 8)

Tuesday, May 24, 2011

Mango provides API to use user’s Contacts and Appointments. To search for appointments and contacts we need to use the Appointments and Contacts classes located under Microsoft.Phone.UserData namespace. In this post I’ll show how to create the sample application which will present the list of contacts and will enable user searching for specific contact. Also we will add appointments search functionality: When page initialized we creating the new instance of the Contacts class:contacts = new Contacts(); contacts.SearchCompleted += contacts_SearchCompleted; The contacts class contains information which indicates the accounts used to provide the information. The information provided via Accounts property. It holds a collection...