This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNetworkAnalystEnvironmentEvents Interface > IEngineNetworkAnalystEnvironmentEvents.OnNetworkLayersChanged Event (ArcObjects .NET 10.4 SDK) |
Called when the network layers have changed.
[Visual Basic .NET] Public Event OnNetworkLayersChanged As OnNetworkLayersChangedEventHandler
[C#] public event OnNetworkLayersChangedEventHandler OnNetworkLayersChanged
[C++]
HRESULT OnNetworkLayersChanged(
void
);
The OnNetworkLayersChanged event is fired when a new INetworkLayer object is added, removed, or renamed within a map.
If the INetworkLayer is renamed interactively through the user interface OnNetworkLayersChanged is fired. If the INetworkLayer is renamed programmatically using the ILayer::Name property OnNetworkLayersChanged is not fired.