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


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

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