ArcObjects Library Reference (NetworkAnalyst)  

INAContextEdit.ContextChanged Method

Message all of the network analysis agents that the analysis context has changed.

[Visual Basic .NET]
Public Sub ContextChanged ( _
)
[C#]
public void ContextChanged (
);
[C++]
HRESULT ContextChanged(
void
);

Product Availability

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

Remarks

ContextChanged should be called if you have changed a property of the NAContext or have added NALocationObjects and want to fire the event OnNAContextUpdated on the INAContextEvents interface.

See Also

INAContextEdit Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmMain) | Service area solver (Code Files: frmServiceAreaSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Route layer (Code Files: Program)