SearchPaneSuggestionsRequest.SearchSuggestionCollection SearchPaneSuggestionsRequest.SearchSuggestionCollection SearchPaneSuggestionsRequest.SearchSuggestionCollection SearchPaneSuggestionsRequest.SearchSuggestionCollection SearchPaneSuggestionsRequest.SearchSuggestionCollection Property

Definition

The suggestions to display in the search pane for the current query. Apps provide suggestions to display by appending them to this searchSuggestionCollection object.

public : SearchSuggestionCollection SearchSuggestionCollection { get; }
SearchSuggestionCollection SearchSuggestionCollection();
public SearchSuggestionCollection SearchSuggestionCollection { get; }
Public ReadOnly Property SearchSuggestionCollection As SearchSuggestionCollection
var searchSuggestionCollection = searchPaneSuggestionsRequest.searchSuggestionCollection;

Property Value

The suggestions to display. Apps provide suggestions by appending them to this searchSuggestionCollection object.

Remarks

The search pane can display 5 suggestions, at most. Additionally, each separator you use takes the place of a suggestion and lowers the number of suggestions that you can display.

Use the SearchSuggestionCollection object to append app-provided suggestions and search separators to display in the search pane.

When the request for suggestions is completed, either by returning from the suggestionsrequested event handler or by calling searchPaneSuggestionsRequestDeferral.complete, the search pane displays the suggestions in the searchSuggestionCollection.

See also