Method GeocodeAsync
GeocodeAsync(Nullable<String>)
Executes a geocoding operation to find location candidates for a given address.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(string? searchText)
Parameters
Type | Name | Description |
---|---|---|
System. |
searchText | The address for which to find location candidates. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(Nullable<String>, CancellationToken)
Executes a geocoding operation to find location candidates for a given address.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(string? searchText, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System. |
searchText | The address for which to find location candidates. |
Cancellation |
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(Nullable<String>, GeocodeParameters)
Executes a geocoding operation to find location candidates for a given address and set of search parameters.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(string? searchText, GeocodeParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
System. |
searchText | The address for which to find location candidates. |
Geocode |
parameters | Additional search parameters to apply to the geocoding operation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(Nullable<String>, GeocodeParameters, CancellationToken)
Executes a geocoding operation to find location candidates for a given address and set of search parameters.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(string? searchText, GeocodeParameters parameters, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System. |
searchText | The address for which to find location candidates. |
Geocode |
parameters | Additional search parameters to apply to the geocoding operation. |
Cancellation |
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(Nullable<Dictionary<String, String>>)
Executes a geocoding operation to find location candidates for a given multiline address.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(Dictionary<string, string>? searchValues)
Parameters
Type | Name | Description |
---|---|---|
System. |
searchValues | A dictionary containing the address for which to find location candidates. Each entry in the dictionary represents one line of the address. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(Nullable<Dictionary<String, String>>, CancellationToken)
Executes a geocoding operation to find location candidates for a given multiline address.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(Dictionary<string, string>? searchValues, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System. |
searchValues | A dictionary containing the address for which to find location candidates. Each entry in the dictionary represents one line of the address. |
Cancellation |
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(Nullable<Dictionary<String, String>>, GeocodeParameters)
Executes a geocoding operation to find location candidates for a given multiline address and set of search parameters.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(Dictionary<string, string>? searchValues, GeocodeParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
System. |
searchValues | A dictionary containing the address for which to find location candidates. Each entry in the dictionary represents one line of the address. |
Geocode |
parameters | Additional search parameters to apply to the geocoding operation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(Nullable<Dictionary<String, String>>, GeocodeParameters, CancellationToken)
Executes a geocoding operation to find location candidates for a given multiline address and set of search parameters.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(Dictionary<string, string>? searchValues, GeocodeParameters parameters, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System. |
searchValues | A dictionary containing the address for which to find location candidates. Each entry in the dictionary represents one line of the address. |
Geocode |
parameters | Additional search parameters to apply to the geocoding operation. |
Cancellation |
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(SuggestResult)
Executes a geocoding operation to find location candidates for a given address suggestion.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(SuggestResult suggestResult)
Parameters
Type | Name | Description |
---|---|---|
Suggest |
suggestResult | The suggested address for which to find location candidates. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
GeocodeAsync(SuggestResult, CancellationToken)
Executes a geocoding operation to find location candidates for a given address suggestion.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(SuggestResult suggestResult, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Suggest |
suggestResult | The suggested address for which to find location candidates. |
Cancellation |
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |
GeocodeAsync(SuggestResult, GeocodeParameters)
Executes a geocoding operation to find location candidates for a given address suggestion and set of search parameters.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(SuggestResult suggestResult, GeocodeParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Suggest |
suggestResult | The suggested address for which to find location candidates. |
Geocode |
parameters | Additional search parameters to apply to the geocoding operation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
GeocodeAsync(SuggestResult, GeocodeParameters, CancellationToken)
Executes a geocoding operation to find location candidates for a given address suggestion and set of search parameters.
Declaration
public Task<IReadOnlyList<GeocodeResult>> GeocodeAsync(SuggestResult suggestResult, GeocodeParameters parameters, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Suggest |
suggestResult | The suggested address for which to find location candidates. |
Geocode |
parameters | Additional search parameters to apply to the geocoding operation. |
Cancellation |
cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
Task<IRead |
A task that represents the asynchronous geocoding operation. The value of the task result contains a read-only collection of Geocode |
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |