This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > LocationUI > ESRI.ArcGIS.LocationUI > Interfaces > IL > ILocatorExtension Interface > ILocatorExtension.AddLocator Method (ArcObjects .NET 10.5 SDK) |
Adds a locator to the ArcMap document.
[Visual Basic .NET] Public Function AddLocator ( _ ByVal Locator As ILocator _ ) As Integer
[C#] public int AddLocator ( ILocator Locator );
This method returns a long integer indicating the index of the locator that you added to the ArcMap document.
ILocatorExtension Interface | ILocatorWorkspace.GetLocator Method | ILocator Interface | ILocatorWorkspace.UpdateLocator Method | StreetMapAddressLocator Class | ESRIFDOAddressLocatorStyle Class | ESRIFDOAddressLocator Class | StreetMapAddressLocatorStyle Class | LocatorExtension Class | GxLocator Class