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


INALocator.RemoveLocatorAgent Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALocator.RemoveLocatorAgent Method

Remove a locator agent by index.

[Visual Basic .NET]
Public Sub RemoveLocatorAgent ( _
    ByVal Index As Integer _
)
[C#]
public void RemoveLocatorAgent (
    int Index
);
[C++]
HRESULT RemoveLocatorAgent(
  long Index
);
[C++]

Parameters Index [in] Index is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

RemoveLocatorAgent removes a locator agent from the NALocator's collection.

See Also

INALocator Interface