-api-id | -api-type |
---|---|
T:Windows.ApplicationModel.Contacts.ContactInformation |
winrt class |
Contains the information about a contact.
Note
ContactInformation may be altered or unavailable for releases after Windows 8.1. Instead, use Contact.
Note
Because you don't use PickSingleContactAsync and PickMultipleContactsAsync in your Windows 8.1 and later apps, you don't instantiate ContactInformation objects in your Windows 8.1 and later apps.This table shows existing Windows 8 ContactInformation properties and their equivalent Windows 8.1 Contact properties.
Windows 8 ContactInformation property | Windows 8.1 Contact property |
---|---|
Contact.Name | Contact.Name |
Contact.Thumbnail | Contact.Thumbnail |
Contact.Fields | Contact.Emails |
Contact.Fields where ContactField.Value = Address and ContactField.Category = ContactFieldCategory.Home or ContactFieldCategory.Other | Contact.Addresses |
Contact.Fields | Contact.Phones |
ContactField.Value | ContactEmail.Address |
ContactField.Category(Home,Work,Other) | ContactEmail.Kind(Personal,Work,Other) |
ContactField.Value | ContactPhone.Number |
ContactField.Category(Home, Work, Mobile, Other) | ContactPhone.Kind(Home,Work,Mobile,Other) |
Contact.Fields where ContactField.Value = CompanyAddress and ContactField.Category = ContactFieldCategory.Work | ContactJobInfo.CompanyAddress |
Typically, you access ContactInformation objects as the result of asynchronous method and/or function calls. For example, both of the static methods PickSingleContactAsync and PickMultipleContactsAsync return ContactInformation objects that represent the selected contact.
When your app receives contact information from a contact provider, the data for each contact is returned in a ContactInformation object.
contactsSystem