ArcObjects Library Reference (Carto)  

INetworkLayer.NetworkDataset Property

The Network Dataset used to define the layer.

[Visual Basic .NET]
Public Property NetworkDataset As INetworkDataset
[C#]
public INetworkDataset NetworkDataset {get; set;}
[C++]
HRESULT get_NetworkDataset(
  INetworkDataset** nds
);
[C++]
HRESULT putref_NetworkDataset(
  INetworkDataset* nds
);
[C++]

Parameters

nds [out, retval]

  nds is a parameter of type INetworkDataset

nds [in]

  nds is a parameter of type INetworkDataset

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

INetworkLayer Interface

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver)