This document is archived and information here might be outdated.  Recommended version.


ILocator Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ILocator Interface

Provides access to members that describe general locator properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

Use the ILocator interface to inspect the general properties of a locator.

Members

Description
Read-only property Category Category of the locator.
Read/write property Description Description of the locator.
Read-only property Name Name of the locator.
Read-only property UserInterface User interface for the locator.

CoClasses that implement ILocator

CoClasses and Classes Description
AGSAddressLocator (esriLocation) A locator adaptor for the GeocodeServer proxies.
CompositeLocator (esriLocation) A locator that contains collection of other locators.
ESRIFDOAddressLocator (esriLocation) An address locator that uses the Esri geocoding engine developed prior to ArcGIS version 10.0.
ESRIFDOAddressLocatorStyle (esriLocation) An address locator style for locators that use the Esri geocoding engine developed prior to ArcGIS version 10.0.
ESRIGen2AddressLocator (esriLocation) An address locator that uses the Esri geocoding engine introduced in ArcGIS version 10.0.
ESRIGen2AddressLocatorStyle (esriLocation) An address locator style that uses the Esri geocoding engine introduced in ArcGIS version 10.0.
GenericLocatorStyle (esriLocation) A generic style for creating a new locator.
RouteMeasureLocator (esriLocation) Route measure locator object.
RSLocator (esriLocation) An address locator that uses the Esri RouteServer geocoding engine.
StreetMapAddressLocator (esriLocation) A locator that uses the Esri geocoding engine and StreetMap reference data sources.
StreetMapAddressLocatorStyle (esriLocation) A locator style for locators that use the Esri geocoding engine and StreetMap reference data sources.

Remarks

The ILocator interface is supported by all locators and locator styles supported by ArcGIS. Additional interfaces must be supported by a locator in order to be used as an address locator in ArcGIS.

See Also

ILocatorWorkspace.GetLocator Method | ILocator Interface | ILocatorWorkspace.UpdateLocator Method | StreetMapAddressLocator Class | ESRIFDOAddressLocatorStyle Class | ESRIFDOAddressLocator Class | StreetMapAddressLocatorStyle Class | LocatorExtension Class | GxLocator Class | ILocatorStyle Interface | ILocatorWorkspace.GetLocatorStyle Method | ESRIFDOAddressLocatorStyle Class | StreetMapAddressLocatorStyle Class

.NET Samples

Find an address (Code Files: AddressForm) | Find the closest intersection from a point (Code Files: FindClosestIntersection) | StreetMap routing (Code Files: RoutingForm) | Single line address geocoding (Code Files: SingleLineGeocodingForm)

.NET Related Topics

Creating an address locator | How to find the address closest to a point using reverse geocoding | How to geocode a single address | How to geocode a table of addresses | How to rematch a geocoded feature class | How to work with geocoding properties | LocationUI