SearchSuggestionCollection.AppendQuerySuggestions(IIterable<String>) SearchSuggestionCollection.AppendQuerySuggestions(IIterable<String>) SearchSuggestionCollection.AppendQuerySuggestions(IIterable<String>) SearchSuggestionCollection.AppendQuerySuggestions(IIterable<String>) SearchSuggestionCollection.AppendQuerySuggestions(IIterable<String>) Method

Definition

Appends a list of query suggestions to the list of search suggestions for the search pane.

public : void AppendQuerySuggestions(IIterable<Platform::String> suggestions)
void AppendQuerySuggestions(IIterable<winrt::hstring> suggestions) const;
public void AppendQuerySuggestions(IEnumerable<String> suggestions)
Public Sub AppendQuerySuggestions(suggestions As IEnumerable(Of String))
searchSuggestionCollection.appendQuerySuggestions(suggestions);

Parameters

suggestions
IEnumerable<String> IEnumerable<String> IEnumerable<String>

The list of query suggestions.

Remarks

A query suggestion is a suggestion that the user can select as his or her query.

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. Learn more about displaying suggestions in Guidelines and checklist for search.

See also