This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INATraversalResult Interface > INATraversalResult.SourceByID Property (ArcObjects .NET 10.5 SDK) |
The network traversal source by ID.
[Visual Basic .NET] Public Function get_SourceByID ( _ ByVal SourceID As Integer _ ) As INATraversalResultSource
[C#] public INATraversalResultSource get_SourceByID ( int SourceID );
[C++]
HRESULT get_SourceByID(
long SourceID,
INATraversalResultSource** resultSource
);
[C++]
Parameters SourceID [in] SourceID is a parameter of type long resultSource [out, retval]
resultSource is a parameter of type INATraversalResultSource
The SourceByID property returns an NATraversalResultSource object corresponding to the ID of the source in the traversal result.
The ID of a source is returned by the SourceID property of the NATraversalResultElement's INATraversalResultElement interface. It can also be found on the ID property on the INATraversalResultSource interface of the NATraversalResultSource object.