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


LocatorExtension CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (LocationUI)  

LocatorExtension CoClass

An extension for locators in ArcMap.

Product Availability

Available with ArcGIS Desktop.

Description

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

Supported Platforms

Windows

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
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.

Remarks

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 | FindAddresses Class | AddressFindData Class | IAddressFindData Interface | ILocatorExtension Interface | LocatorExtension Class | ILocatorWorkspace.GetLocator Method | ILocator Interface | ILocatorWorkspace.UpdateLocator Method | StreetMapAddressLocator Class | ESRIFDOAddressLocatorStyle Class | ESRIFDOAddressLocator Class | StreetMapAddressLocatorStyle Class | LocatorExtension Class | GxLocator Class