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


AGSAddressLocator Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Classes > A > AGSAddressLocator Class
ArcGIS Developer Help

AGSAddressLocatorClass Class

A locator adaptor for the GeocodeServer proxies.

Product Availability

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

Description

An AGSAddressLocator is a locator that uses a GeocodeServer over an Internet connection to geocode addresses.

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IAddressCandidates Provides access to members for generating candidates for an address.
IAddressGeocoding Provides access to members for geocoding addresses.
IAddressInputs Provides access to members that specify fields for address tables.
IAdvancedGeocoding Provides access to members for advanced geocoding functions.
IAdvancedIntersectionGeocoding Provides access to members for advanced intersection geocoding functions.
IBatchGeocoding Provides access to members for batch geocoding functions.
IClone (esriSystem) Provides access to members that control cloning of objects.
IGeocodingProperties Provides access to members that control geocoding settings.
IIntersectionGeocoding Provides access to members for geocoding intersections.
ILocator (esriGeoDatabase) Provides access to members that describe general locator properties.
ILocatorDataset (esriGeoDatabase) Provides access to members for retrieving objects associated with the Locator.
IPlaceNameAlias Provides access to memebers that specify a place name alias table.
IReverseGeocoding Provides access to members for reverse geocoding.
IReverseGeocodingProperties Provides access to members that control reverse geocoding settings.
ISingleLineAddressInput Provides access to members for working with single line address information.
ISupportErrorInfo (esriSystem)

Remarks

There are certain restrictions on the use of AGSAddressLocators that do not apply to other types of locators.

AGSAddressLocators are retrieved from an AGSLocatorWorkspace, which represents the collection of GeocodeServers made available by an instance of an ArcGIS Server. AGSAddressLocators cannot be added to an AGSLocatorWorkspace, or to any other type of LocatorWorkspace, using ArcObjects.

GeocodeServers cannot be modified by their clients, so modifying certain writeable properties on interfaces supported by AGSAddressLocators is not supported. These properties are:

See Also

ServerMachine Class | ServerObjectAdmin Class | ServerObjectType Class | ServerObjectConfiguration Class | AGSLocatorWorkspace Class | ILocatorManager2.GetAGSLocatorWorkspace Method | GeocodeServer Class | AGSAddressLocator Class | ILocatorWorkspaceName2.AGSServerConnectionName Property | ServerObject Class | IEnumServerObjectTypeInfo Interface | IEnumServerObjectType Interface