This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNAWindowEvents Interface > IEngineNAWindowEvents.OnActiveAnalysisChanged Event (ArcObjects .NET 10.4 SDK) |
Called when the active analysis changes.
[Visual Basic .NET] Public Event OnActiveAnalysisChanged As OnActiveAnalysisChangedEventHandler
[C#] public event OnActiveAnalysisChangedEventHandler OnActiveAnalysisChanged
[C++]
HRESULT OnActiveAnalysisChanged(
void
);
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.