SearchSuggestionCollection.AppendQuerySuggestion(String)
SearchSuggestionCollection.AppendQuerySuggestion(String)
SearchSuggestionCollection.AppendQuerySuggestion(String)
SearchSuggestionCollection.AppendQuerySuggestion(String)
SearchSuggestionCollection.AppendQuerySuggestion(String)
Method
Definition
Appends a query suggestion to the list of search suggestions for the search pane.
public : void AppendQuerySuggestion(Platform::String text)
void AppendQuerySuggestion(winrt::hstring text) const;
public void AppendQuerySuggestion(String text)
Public Sub AppendQuerySuggestion(text As String)
searchSuggestionCollection.appendQuerySuggestion(text);
Parameters
- text
- String String String
The text of the query suggestion.
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
- Search contract sample
- Guidelines and checklist for search
- SearchSuggestionCollection SearchSuggestionCollection SearchSuggestionCollection SearchSuggestionCollection SearchSuggestionCollection
- SuggestionsRequested
- SearchPaneSuggestionsRequestedEventArgs
- Request
- SearchPaneSuggestionsRequest
- SearchSuggestionCollection
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...