Hot Area:

HOTSPOT
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

HOTSPOT
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

Answer:

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



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Ashraf

Ashraf

I’m not convinced with the 3rd answer, yes it says PickerViewMode.List; But it also clearly uses “*” for the .Add method, which means show all files without any kind of filtration, no list to filter against or to accept. I hope others will share their opinion about it.

Herbert

Herbert

I agree with Ashraf, the Add method accepts only one string which is added to the FileTypeFilter list.