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


IEngineNAWindowEvents.OnActiveAnalysisChanged Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNAWindowEvents Interface > IEngineNAWindowEvents.OnActiveAnalysisChanged Event
ArcGIS Developer Help

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