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


INALocator.LocatorAgent Property (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.LocatorAgent Property
ArcGIS Developer Help

INALocator.LocatorAgent Property

The locator agent by index.

[Visual Basic .NET]
Public Function get_LocatorAgent ( _
    ByVal Index As Integer _
) As INALocatorAgent
[C#]
public INALocatorAgent get_LocatorAgent (
    int Index
);
[C++]
HRESULT get_LocatorAgent(
  long Index,
  INALocatorAgent** LocatorAgent
);
[C++]
Parameters
Index [in]

Index is a parameter of type long LocatorAgent [out, retval]
LocatorAgent is a parameter of type INALocatorAgent**

Product Availability

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

Remarks

LocatorAgent allows you to retrieve a locator agent by index.

See Also

INALocator Interface