1 out of 1 rated this helpful - Rate this topic

Microsoft.Phone.UserData Namespace

Windows Phone

March 22, 2012

The Microsoft.Phone.UserData namespace provides types for interacting with a user’s contact and calendar data.

The main classes are the Contacts, Contact, Appointments, and Appointment classes. The Contacts class allows you to search a user’s contact data and returns a collection of Contact objects. The Appointments class allows you to search a user’s calendar and returns a collection of Appointment objects.

Windows® Phone provides an aggregated view of the user’s contact and calendar 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. For more information, see Contacts and Calendar for Windows Phone.

  Class Description
Public class Account Contains information about a user’s account with a data provider, such as Facebook or Microsoft Outlook, that the user has set up on the phone.
Public class Appointment Contains all available information about an individual appointment.
Public class Appointments Provides methods and events for interacting with a user’s appointment data.
Public class AppointmentsSearchEventArgs Provides data for the SearchCompleted event.
Public class Attendee Contains information about an attendee associated with an appointment.
Public class CompleteName Contains information about the name of a contact.
Public class Contact Contains all available information about an individual contact.
Public class ContactAddress Contains information about an address associated with a contact.
Public class ContactCompanyInformation Contains information for a company associated with a contact, such as the contact’s title and office location.
Public class ContactEmailAddress Contains information about an email address associated with a contact.
Public class ContactPhoneNumber Contains information about a phone number associated with a contact.
Public class Contacts Provides methods and events for interacting with a user’s contact data.
Public class ContactsSearchEventArgs Provides data for the SearchCompleted event.
Public class PhoneDataSharingContext The base class for data sharing contexts such as Contacts and Appointments.
  Enumeration Description
Public enumeration AddressKind Specifies information about a physical address.
Public enumeration AppointmentStatus Specifies information about how to treat the block of time of an appointment.
Public enumeration EmailAddressKind Specifies information about an email address.
Public enumeration FilterKind Specifies the kind of filter to use when searching for contacts.
Public enumeration PhoneNumberKind Specifies information about a phone number.
Public enumeration StorageKind Specifies the possible sources of user contact and calendar data.

Did you find this helpful?
(1500 characters remaining)