ArcObjects Library Reference (Controls)  

IEngineNetworkAnalystEnvironmentEvents.OnNetworkLayersChanged Event

Called when the network layers have changed.

[Visual Basic 6.0]
Event OnNetworkLayersChanged
[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