ArcObjects Library Reference (NetworkAnalystUI)  

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 (Code Files: SubsetHelperUI) |