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 );
Product Availability
Available with ArcGIS Desktop.
Remarks
This method returns a long integer indicating the index of the locator that you added to the ArcMap document.
See Also
ILocatorExtension Interface | ILocator Interface | ILocatorWorkspace.UpdateLocator Method | ILocatorWorkspace.GetLocator Method | ESRIFDOAddressLocatorStyle Class | StreetMapAddressLocatorStyle Class | ESRIFDOAddressLocator Class | StreetMapAddressLocator Class | LocatorExtension Class | GxLocator Class