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


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

INetworkLayer Interface

Provides access to members that control a network layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Read/write property DisplayAttribute The primary display network attribute.
Method ExpandRegionForSymbols Expands the given geometry by an amount that will include the layer's symbology for the given display.
Read/write property NetworkDataset The Network Dataset used to define the layer.
Read/write property ScaleSymbols Indicates if symbols are scaled for the layer.
Method SearchLocatedNetworkElements Searches through the specified network dataset's source and returns an enumeration of network locations that intersect the input geometry.

CoClasses that implement INetworkLayer

CoClasses and Classes Description
NetworkLayer Esri Network Layer CoClass.

.NET Snippets

Get Current Network Layer | Statements - Get Current Network Layer

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Subset network evaluators (Code Files: SubsetHelperUI)

.NET Related Topics

NetworkAnalystUI