This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > LocationUI > ESRI.ArcGIS.LocationUI > Interfaces > IL > ILocatorExtension Interface > ILocatorExtension.RemoveLocator Method (ArcObjects .NET 10.5 SDK) |
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 );
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.