DRAG DROP
You are developing a Windows Store app.
The app has the following requirements:
Open the Search charm.
Provide query suggestions by using the GetSuggestions() methodYou need to ensure that the app meets the requirements.
You have the following code:
Which code snippets should you insert in Target 1 and Target 2 to complete the code? (To
answer, drag the appropriate code snippets to the correct targets in the answer area. Each
code snippet 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.)
Explanation:
Note:
* GetForCurrentView
ApplicationView.GetForCurrentView, getForCurrentView method
Applies to Windows and Windows Phone
Gets the window (app view) for the current app.
* AppendQuerySuggestion
Appends a query suggestion to the list of search suggestions for the search pane.