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

.NET Related Topics

LocationUI |