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


IEngineNetworkAnalystEnvironment.NetworkLayer Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IEngineNetworkAnalystEnvironment.NetworkLayer Property

The network layer by index.

[Visual Basic .NET]
Public Function get_NetworkLayer ( _
    ByVal index As Integer _
) As INetworkLayer
[C#]
public INetworkLayer get_NetworkLayer (
    int index
);
[C++]
HRESULT get_NetworkLayer(
  long index,
  INetworkLayer** Layer
);
[C++]

Parameters index [in]
index is a parameter of type long Layer [out, retval]
Layer is a parameter of type INetworkLayer**

Product Availability

Available with ArcGIS Engine.

Description

Returns the INetworkLayer object referencing a NetworkDataset at the specified index in the range 0 to NetworkLayerCount - 1.

[C#]

In C# use the get_NetworkLayer method, as indexed property accessors are not supported.

See Also

IEngineNetworkAnalystEnvironment Interface