This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkDataset Interface > INetworkDataset.SourceByID Property (ArcObjects .NET 10.5 SDK) |
Network dataset source corresponding to the specified ID.
[Visual Basic .NET] Public Function get_SourceByID ( _ ByVal ID As Integer _ ) As INetworkSource
[C#] public INetworkSource get_SourceByID ( int ID );
[C++]
HRESULT get_SourceByID(
long ID,
INetworkSource** Source
);
[C++]
Parameters ID [in] ID is a parameter of type long Source [out, retval]
Source is a parameter of type INetworkSource
Returns the source with the specified ID. The ID is not equal to the index. Rather it is the internal ID of the source as stored in the metadata tables. It can be retrieved from the INetworkSource::ID property.