Microsoft.Phone.UserData Namespace

July 28, 2014

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 8.

  ClassDescription
Public classAccountContains 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 classAppointmentContains all available information about an individual appointment.
Public classAppointmentsProvides methods and events for interacting with a user’s appointment data.
Public classAppointmentsSearchEventArgsProvides data for the SearchCompleted event.
Public classAttendeeContains information about an attendee associated with an appointment.
Public classCompleteNameContains information about the name of a contact.
Public classContactContains all available information about an individual contact.
Public classContactAddressContains information about an address associated with a contact.
Public classContactCompanyInformationContains information for a company associated with a contact, such as the contact’s title and office location.
Public classContactEmailAddressContains information about an email address associated with a contact.
Public classContactPhoneNumberContains information about a phone number associated with a contact.
Public classContactsProvides methods and events for interacting with a user’s contact data.
Public classContactsSearchEventArgsProvides data for the SearchCompleted event.
Public classPhoneDataSharingContextThe base class for data sharing contexts such as Contacts and Appointments.

  EnumerationDescription
Public enumerationAddressKindSpecifies information about a physical address.
Public enumerationAppointmentStatusSpecifies information about how to treat the block of time of an appointment.
Public enumerationEmailAddressKindSpecifies information about an email address.
Public enumerationFilterKindSpecifies the kind of filter to use when searching for contacts.
Public enumerationPhoneNumberKindSpecifies information about a phone number.
Public enumerationStorageKindSpecifies the possible sources of user contact and calendar data.

Show:
© 2014 Microsoft