Class GeocodeParameters
A class that describes geocode method parameters.
Namespace: Esri.ArcGISRuntime.Tasks.Geocoding
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GeocodeParameters
Remarks
Class holding the parameters to support the geocode operation for a geocoding service or local locator.
Constructors
| Name | Description |
|---|---|
| GeocodeParameters() | Initializes a new instance of the GeocodeParameters class. |
Properties
| Name | Description |
|---|---|
| Categories | Gets a mutable list of categories from which addresses should be returned. |
| CountryCode | Gets or sets a value representing the country. Providing this value increases geocoding speed. Acceptable values include the full country name, the ISO 3166-1 2-digit country code, or the ISO 3166-1 3-digit country code. A list of supported countries and codes is available here. |
| IsForStorage | Gets or sets a value indicating whether the results of the operation will be persisted. |
| MaxResults | Gets or sets the maximum number of candidates to be returned by a search, up to the maximum number allowed by the service. By default all found candidates will be returned. The world geocoding service allows up to 20 candidates to be returned for a single request. |
| MinScore | Gets or sets the minimum score value. |
| OutputLanguage | Gets or sets the output language. |
| OutputSpatialReference | Gets or sets the spatial reference of the returned locations. If not specified, the coordinates of the returned locations will be in the same spatial reference as the service. |
| PreferredSearchLocation | Gets or sets the preferred search location. |
| ResultAttributeNames | Gets a mutable list of attribute names. |
| SearchArea | Gets or sets the geographic area for which searching for locations will be limited to. |
Applies to
| 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 |