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


INALocator.AddLocatorAgent Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALocator.AddLocatorAgent Method

Add a locator agent.

[Visual Basic .NET]
Public Sub AddLocatorAgent ( _
    ByVal LocatorAgent As INALocatorAgent _
)
[C#]
public void AddLocatorAgent (
    INALocatorAgent LocatorAgent
);
[C++]
HRESULT AddLocatorAgent(
  INALocatorAgent* LocatorAgent
);
[C++]

Parameters LocatorAgent [in]
LocatorAgent is a parameter of type INALocatorAgent

Product Availability

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

Remarks

AddLocatorAgent adds a locator agent to the NALocator's collection.

See Also

INALocator Interface