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