ArcObjects Library Reference (NetworkAnalyst)  

INALayer3 Interface

Provides access to the network analysis layer.

Product Availability

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

Members

Description
Read/write property Accessible Indicates whether the datalayer at the specified index in the collection of DataLayers of the network analysis layer is accessible by ICompositeLayer methods.
Method Add Add a new layer.
Read-only property AllDataLayerCount The total number of data layers (layers and standalone tables) in the network analysis layer.
Read-only property AllLayerCount The total number of layers in the network analysis layer.
Read-only property AllStandaloneTableCount The total number of standalone tables in the network analysis layer.
Method AttachContext Sets the NALayer to reference the NAContext and the sublayers to reference the NAClasses of the NAContext.
Read-only property CanRestrictAccessibility Indicates whether the datalayer at the specified index in the collection of DataLayers of the network analysis layer can be hidden from ICompositeLayer methods.
Method Clear Clear all analysis layers.
Read/write property Context The network analysis context.
Method CopyContext Returns a copy of the NAContext referenced by the NALayer.
Read-only property DataLayer The datalayer at the specified index in the collection of DataLayers of the network analysis layer.
Read-only property DataLayerByNAClassName The network analysis layer or standalone table by class name.
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.
Method FindDataLayerByNAClassName The index of the named datalayer in the collection of DataLayers of the network analysis layer.
Read-only property LayerByNAClassName The network analysis layer by class name.
Method Reorder Reorders the data layers in the network analysis layer based on the input array containing the new datalayer index value for each current index.

Inherited Interfaces

Interfaces Description
INALayer2 Provides access to the network analysis layer.
INALayer Provides access to the network analysis layer.

CoClasses that implement INALayer3

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

.NET Snippets

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

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: cmdNALayerProperties frmNALayerProperties)

.NET Related Topics

How to setup, solve, and save a network analysis problem