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


INALayer Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALayer Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALayer Interface

Provides access to the network analysis layer. Note: the INALayer interface has been superseded byINALayer2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Members

Name Description
Method Add Add a new layer.
Method Clear Clear all analysis layers.
Read/write property Context The network analysis context.
Method Delete Delete an existing layer.
Read/write property Expanded Indicates if the network analysis layer is expanded or collapsed in the TOC of the map.
Read-only property LayerByNAClassName The network analysis layer by class name.

CoClasses that implement INALayer

CoClasses and Classes Description
NALayer The layer for defining, solving, and viewing network analysis results.

Remarks

INALayer has been superseded by INALayer2.

.NET Snippets

Create OD Cost Matrix Layer | Create Location Allocation Layer | Create Vehicle Routing Problem Layer | Create Service Area Layer | Create Route Layer | Create Closest Facility Layer | Get Active Analysis Layer | Clear NAClass | Clear Active Analysis Layer

.NET Samples

Export any network analysis class to a text file (Code Files: NAClassToTextfileCmd) | Closest facility solver (Code Files: frmClosestFacilitySolver) | ArcGIS Network Analyst extension Engine application (Code Files: cmdClearAnalysisLayer cmdLoadLocations frmLoadLocations frmMain frmNALayerProperties) | Load network layer from active analysis to the table of contents (Code Files: LoadNetworkLayerFromActiveAnalysisToTOC) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | ArcGIS Network Analyst extension barrier location editor (Code Files: NABarrierLocationEditor) | Add a traversal result to the map (Code Files: AddTraversalResultsToMap) | Subset network evaluators (Code Files: AutoUpdateNetworkElementArrayParametersCommand SubsetHelperUI) | Route layer (Code Files: Program)

.NET Related Topics

How to load data into a network analysis problem | How to speed up VRP solves | NetworkAnalystUI