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


IEngineNetworkAnalystEnvironmentEvents.OnNetworkLayersChanged Event (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineNetworkAnalystEnvironmentEvents.OnNetworkLayersChanged Event

Called when the network layers have changed.

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

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

IEngineNetworkAnalystEnvironmentEvents Interface