ArcObjects Library Reference  (LocationUI)    

LocatorExtension CoClass

An extension for locators in ArcMap.

Product Availability

Available with ArcGIS Desktop.


The LocatorExtension extends ArcMap to use locators in an ArcMap document.

Supported Platforms


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 Description
IConnectionPointContainer Supports connection points for connectable objects.
IDocumentEvents (esriArcMapUI) Provides access to events that occur in ArcMap.
IExtension (esriSystem) Provides access to members that define an extension.
ILocatorExtension Provides access to members that control the set of locators in an ArcMap document.
IPersistStream (esriSystem)
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.

Event Interfaces

Interfaces Description
ILocatorExtensionEvents (default) Provides access to events that occur when locators are added to or removed from an ArcMap document.


You can get a reference to the LocatorExtension using the IApplication::FindExtensionByCLSID method.

Working with Events

[Visual Basic 6.0]

When working with LocatorExtension's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pLocatorExtension as LocatorExtension

See Also

IAdvancedGeocoding.MatchStandardizedAddress Method | AddressFindData Class | ILocatorExtension Interface | LocatorExtension Class | IAddressFindData Interface | FindAddresses Class | ILocatorWorkspace.GetLocator Method | ILocatorWorkspace.UpdateLocator Method | ILocator Interface | ESRIFDOAddressLocatorStyle Class | ESRIFDOAddressLocator Class | StreetMapAddressLocatorStyle Class | StreetMapAddressLocator Class | LocatorExtension Class | GxLocator Class | IAddressUI.RematchTable Method


LocatorExtension Example