PrepAway - Latest Free Exam Questions & Answers

Which code segments should you use?

DRAG DROP
You are developing a Windows Store app. The app allows users to browse contacts from a
social networking site.
The app has the following requirements:
The user must be able to select more than one contact at a time.
The app must display all of the details for the selected contacts.
You need to ensure that the requirements are met.
Which code segments should you use? (To answer, drag the appropriate code segments to
the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to
drag the split bar between panes or scroll to view content.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
Note:
Windows.ApplicationModel.Contacts.ContactSelectionMode.contacts: Specifies that you
want to select the entire contact.

ContactPicker.PickMultipleContactsAsync launches the Contact Picker for selecting multiple
contacts.
Incorrect answers:
* ContactPicker.PickSingleContactAsync launches the Contact Picker for selecting a single
contact.
* Windows.ApplicationModel.Contacts.ContactSelectionMode.fields: Specifies that you want
to select only certain fields.
Reference: ContactSelectionMode enumeration (Windows)


Leave a Reply