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


INALocator.AddLocatorAgent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocator Interface > INALocator.AddLocatorAgent Method
ArcGIS Developer Help

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