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


IEngineNetworkAnalystEnvironment.NetworkLayerCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNetworkAnalystEnvironment Interface > IEngineNetworkAnalystEnvironment.NetworkLayerCount Property
ArcGIS Developer Help

IEngineNetworkAnalystEnvironment.NetworkLayerCount Property

The number of network layers.

[Visual Basic .NET]
Public ReadOnly Property NetworkLayerCount As Integer
[C#]
public int NetworkLayerCount {get;}
[C++]
HRESULT get_NetworkLayerCount(
  System.Int32* Count
);
[C++]
Parameters
Count [out, retval]

Count is a parameter of type long*

Product Availability

Available with ArcGIS Engine.

Description

Returns the number of INetworkLayer objects referencing NetworkDataset objects in the map.

See Also

IEngineNetworkAnalystEnvironment Interface