LocatorTaskSuggestAsync Method (String, CancellationToken)
Retrieves a list of possible address variants for a given partial address and
set of search parameters.
Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public Task<IReadOnlyList<SuggestResult>> SuggestAsync(
Public Function SuggestAsync (
searchText As String,
cancellationToken As CancellationToken
) As Task(Of IReadOnlyList(Of SuggestResult))
- Type: SystemString
The partial address for which to get suggestions.
- Type: System.ThreadingCancellationToken
A cancellation token that can be used by other objects or threads to receive notice
A task that represents the asynchronous suggestion operation. The value of the
task result contains a read-only collection of SuggestResult
Geocoding suggestions provide a mechanism for implementing character-by-character
auto-complete. Using a text input and optional SuggestParameters
suggested addresses can be quickly found and presented to the user. Suggestions
are not limited to addresses, they can also be used for POIs (Points of Interest).
To return a focused set of suggestions, set the
. Using the
is similar to how ArcGIS
Pro limits the suggestions returned.