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


INetworkDataset.Source Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkDataset.Source Property

Network dataset source by index.

[Visual Basic .NET]
Public Function get_Source ( _
    ByVal Index As Integer _
) As INetworkSource
[C#]
public INetworkSource get_Source (
    int Index
);
[C++]
HRESULT get_Source(
  long Index,
  INetworkSource** Source
);
[C++]

Parameters Index [in] Index is a parameter of type long Source [out, retval]
Source is a parameter of type INetworkSource

Product Availability

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

Remarks

Returns the source at the specified index.  The indexes go from 0 to SourceCount -1.

See Also

INetworkDataset Interface

.NET Samples

Subset network evaluators (Code Files: SubsetHelperUI)