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


INADirectionsWindowSetup.OnLayerChange Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalystUI)  

INADirectionsWindowSetup.OnLayerChange Method

Message handler, called when NA layer changed.

[Visual Basic .NET]
Public Sub OnLayerChange ( _
    ByVal layers As IEnumLayer, _
    ByVal autoShow As Boolean _
)
[C#]
public void OnLayerChange (
    IEnumLayer layers,
    bool autoShow
);

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

See Also

INADirectionsWindowSetup Interface