This document is archived and information here might be outdated. Recommended version. |
Get the specified NAClass from a network analysis layer.
// <-- Snippet Start --> // DESCRIPTION: // Get the specified NAClass from a network analysis layer ESRI.ArcGIS.NetworkAnalyst.INAClass naClass=naLayer.Context.NAClasses.get_ItemByName("Stops") as ESRI.ArcGIS.NetworkAnalyst.INAClass; //<-- Snippet End -->
' <-- Snippet Start --> ' DESCRIPTION: ' Get the specified NAClass from a network analysis layer Dim naClass As ESRI.ArcGIS.NetworkAnalyst.INAClass=CType(naLayer.Context.NAClasses.ItemByName("Stops"),ESRI.ArcGIS.NetworkAnalyst.INAClass) ' <-- Snippet End -->