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


IEngineNAWindowEvents.OnActiveAnalysisChanged Event (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineNAWindowEvents.OnActiveAnalysisChanged Event

Called when the active analysis changes.

[Visual Basic .NET]
Public Event OnActiveAnalysisChanged As OnActiveAnalysisChangedEventHandler
[C#]
public event OnActiveAnalysisChangedEventHandler OnActiveAnalysisChanged
[C++]
HRESULT OnActiveAnalysisChanged(
void
);

Product Availability

Available with ArcGIS Engine.

Description

The OnActiveAnalysisChanged event is fired when a  NALayer is chosen from the dropdown at the top of the IEngineNetworkAnalystEnvironment::NAWindow or the IEngineNAWindow::ActiveAnalysis is programatically set.

The event is not fired when the IEngineNAWindow::ActiveAnalysis property is set programatically to Nothing or if IEngineNAWindow::DelayEvents has been set to true.

See Also

IEngineNAWindowEvents Interface