Show / Hide Table of Contents

Class GeocodeParameters

A class that describes geocode method parameters.

Inheritance
System.Object
GeocodeParameters
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Find place: Find places of interest near a location or within a specific area.
In This Article
Back to top Copyright © 2022 Esri.