ArcObjects Library Reference (NetworkAnalyst)  

INAContext.Agents Property

The collection of agents associated with the analysis.

[Visual Basic .NET]
Public ReadOnly Property Agents As INamedSet
[C#]
public INamedSet Agents {get;}
[C++]
HRESULT get_Agents(
  INamedSet** Agents
);
[C++]

Parameters

Agents [out, retval]

  Agents is a parameter of type INamedSet

Product Availability

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

Remarks

Agents returns any custom agents that are attached to the NAContext.  Agents are objects that implement INAAgent and perform additional behavior when the NAContext is updated and when the NATraversalResult is updated.

See Also

INAContext Interface

.NET Related Topics

How to generate directions |