Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 2.52 KB

contactinformation.md

File metadata and controls

46 lines (34 loc) · 2.52 KB
-api-id -api-type
T:Windows.ApplicationModel.Contacts.ContactInformation
winrt class

Windows.ApplicationModel.Contacts.ContactInformation

-description

Contains the information about a contact.

Note

ContactInformation may be altered or unavailable for releases after Windows 8.1. Instead, use Contact.

-remarks

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 propertyWindows 8.1 Contact property
Contact.NameContact.Name
Contact.ThumbnailContact.Thumbnail
Contact.FieldsContact.Emails
Contact.Fields where ContactField.Value = Address and ContactField.Category = ContactFieldCategory.Home or ContactFieldCategory.OtherContact.Addresses
Contact.FieldsContact.Phones
ContactField.ValueContactEmail.Address
ContactField.Category(Home,Work,Other)ContactEmail.Kind(Personal,Work,Other)
ContactField.ValueContactPhone.Number
ContactField.Category(Home, Work, Mobile, Other)ContactPhone.Kind(Home,Work,Mobile,Other)
Contact.Fields where ContactField.Value = CompanyAddress and ContactField.Category = ContactFieldCategory.WorkContactJobInfo.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.

-examples

-see-also

-capabilities

contactsSystem