This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContext Interface > INAContext.Agents Property (ArcObjects .NET 10.5 SDK) |
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
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.