Show / Hide Table of Contents

Method SuggestAsync

| Edit this page View Source

SuggestAsync(string, CancellationToken)

Gets a list of suggestions for the given query.

Declaration
Task<IList<SearchSuggestion>> SuggestAsync(string queryString, CancellationToken cancellationToken)
Parameters
Type Name Description
string queryString

Text of the query.

CancellationToken cancellationToken

Token used to cancel requests (e.g. because the search text has changed).

Returns
Type Description
Task<IList<SearchSuggestion>>

Task returning a list of suggestions.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX