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


INetworkAnalystExtension.NetworkLayerCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Interfaces > IN > INetworkAnalystExtension Interface > INetworkAnalystExtension.NetworkLayerCount Property
ArcGIS Developer Help

INetworkAnalystExtension.NetworkLayerCount Property

The number of network layers.

[Visual Basic .NET]
Public ReadOnly Property NetworkLayerCount As Integer
[C#]
public int NetworkLayerCount {get;}

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

Remarks

The NetworkLayerCount property returns the number of NetworkLayers referencing NetworkDatasets in the current map.

See Also

INetworkAnalystExtension Interface

.NET Samples

Subset network evaluators