This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > LocationUI > ESRI.ArcGIS.LocationUI > Classes > L > LocatorExtension CoClass (ArcObjects .NET 10.5 SDK) |
An extension for locators in ArcMap.
The LocatorExtension extends ArcMap to use locators in an ArcMap document.
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. |
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.
When working with LocatorExtension's default outbound interface in Visual Basic 6 declare variables as follows:
Private WithEvents pLocatorExtension as LocatorExtension
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