This document is archived and information here might be outdated.  Recommended version.


ILocatorExtension.AddLocator Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (LocationUI)  

ILocatorExtension.AddLocator Method

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 | ILocatorWorkspace.GetLocator Method | ILocator Interface | ILocatorWorkspace.UpdateLocator Method | StreetMapAddressLocator Class | ESRIFDOAddressLocatorStyle Class | ESRIFDOAddressLocator Class | StreetMapAddressLocatorStyle Class | LocatorExtension Class | GxLocator Class

.NET Related Topics

LocationUI