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


ILocatorExtension.RemoveLocator Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > LocationUI > ESRI.ArcGIS.LocationUI > Interfaces > IL > ILocatorExtension Interface > ILocatorExtension.RemoveLocator Method
ArcGIS Developer Help

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