ArcGIS Developer Help  (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

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

Example

LocatorExtension Example

 


Feedback Send feedback on this page