Get the specified NAClass from a network analysis layer.
[C#]
// <-- 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 -->
[Visual Basic .NET]
' <-- 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 -->