This document is archived and information here might be outdated. Recommended version. |
The analysis and problem definition container.
Interfaces | Description |
---|---|
IConnectionPointContainer (esriDisplay) | |
INAContext | Provides access to the network analysis context. |
INAContextEdit | Provides access to the editable properties of a network analysis context. |
INAContextEvents | Provides access to events triggered by the network analysis context. |
INAContextEvents2 | Provides access to events triggered by the network analysis context. |
IPersistStream (esriSystem) |
The NAContext is the center of the constellation of objects that are used during network analysis.
The NAContext is initially created by calling CreateContext on the INASolver interface of a network solver object. It is then generally accessed by getting the Context property from the INALayer interface on the NALayer object. The INAContext interface can be used to obtain references to the NetworkDataset, NASolver, NAClasses, NATraversalResult, NALocator, and any extra objects that implement INAAgent. The INAContextEdit interface is used to set up some of the internal references to objects and to manage edit operations within the NAClasses. The INAContextEvents interface is an outgoing interface that notifies clients when the NAContext is modified.