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


ILocatorExtension.RemoveLocator Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (LocationUI)  

ILocatorExtension.RemoveLocator Method

Removes a locator from the ArcMap document.

[Visual Basic .NET]
Public Sub RemoveLocator ( _
    ByVal category As String, _
    ByVal index As Integer _
)
[C#]
public void RemoveLocator (
    string category,
    int index
);

Product Availability

Available with ArcGIS Desktop.

Remarks

The Category parameter is the category of the locator that you want to remove from the ArcMap document.

The Index parameter is the index of the locator that you want to remove on the LocatorExtension.

See Also

ILocatorExtension Interface