This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNetworkAnalystEnvironment Interface > IEngineNetworkAnalystEnvironment.NetworkLayer Property (ArcObjects .NET 10.5 SDK) |
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
Returns the INetworkLayer object referencing a NetworkDataset at the specified index in the range 0 to NetworkLayerCount - 1.
In C# use the get_NetworkLayer method, as indexed property accessors are not supported.