You are developing a Universal Windows Platform (UWP) app. The app must allow the user to select only one file at a time. You need to ensure that the app displays the appropriate dialog window. Which method should you use?
Suggested Answer:Explanation🗳️
To pick a single file. Windows.Storage.StorageFile file = await picker.PickSingleFileAsync(); if (file != null) // Application now has read/write access to the picked file this.textBlock.Text = "Picked photo: " + file.Name; else this.textBlock.Text = "Operation cancelled."; Reference: https://docs.microsoft.com/en-us/windows/uwp/files/quickstart-using-file-and-folder-pickers#pick-a-single-file-complete-code-listing
This section is not available anymore. Please use the main Exam Page.70-357 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
dsvirdi
Highly Voted 5 years, 4 months ago