HOTSPOT
You have the following code:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:
Explanation:
Box 1: No
The SuggestedStartLocation gets or sets the initial location where the file open picker looks for files to present
to the user. Here is just gets the location.Box 2: No
FileOpenPicker.PickMultipleFilesAndContinue method shows the file picker so that the user can pick multiple
files, deactivating and the app and reactivating it when the operation is complete.
To get asynchcronous execution use the PickMultipleFilesAsync method.
Box 3: Yes
The line filePicker.ViewMode = PickerViewMode.List specifies that a list will be accepted.https://msdn.microsoft.com/library/windows/apps/br207847
First should be Yes and last should be No. Right?
No, No, No.
Seconds and following times the file picker ignores SuggestedStartLocation and uses user’s last choice.
first option
No, Why? check msdn
https://docs.microsoft.com/en-us/uwp/api/windows.storage.pickers.fileopenpicker
The SuggestedStartLocation is not always used as the start location for the file picker. To give the user a sense of consistency, the file picker remembers the last location that the user navigated to and will generally start at that location.”
second option
No,
third option
Yes
third is not Yes – Add accepts an item, not a list of items.
Indeed you are right. I was wrong.
1 – No
2 – No
3 – No ( big thanks for Andriano)
btw. It is not 70-357 but 70-354 I guess.
Do you know where I can find up to date test 70-357?
I think, the third answer is yes because the type of the property is a List:
https://docs.microsoft.com/en-us/uwp/api/windows.storage.pickers.fileopenpicker
In the example you can clearly add different types, not only one.
no no no
openPicker.FileTypeFilter.Add(“.jpg”);
openPicker.FileTypeFilter.Add(“.jpeg”);
openPicker.FileTypeFilter.Add(“.png”);
Doesn’t accept a list. It accepts single string objects
Value
IList
A fileExtensionVector object that contains a collection of file types (file name extensions) , such as “.doc” and “.png”. File name extensions are stored in this array as string objects.