Get the current network layer from the Network Analyst extension.
[C#]
//<-- Snippet Start --> // DESCRIPTION: // Get the current network layer from the Network Analyst extension ESRI.ArcGIS.Carto.INetworkLayer networkLayer = naExtension.CurrentNetworkLayer; //<-- Snippet End -->
[Visual Basic .NET]
' <-- Snippet Start --> ' DESCRIPTION: ' Get the current network layer from the Network Analyst extension Dim networkLayer As ESRI.ArcGIS.Carto.INetworkLayer = naExtension.CurrentNetworkLayer ' <-- Snippet End -->