This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INATraversalResult Interface > INATraversalResult.SourceByName Property (ArcObjects .NET 10.4 SDK) |
The network traversal source by name.
[Visual Basic .NET] Public Function get_SourceByName ( _ ByVal Name As String _ ) As INATraversalResultSource
[C#] public INATraversalResultSource get_SourceByName ( string Name );
[C++]
HRESULT get_SourceByName(
BSTR Name,
INATraversalResultSource** resultSource
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR resultSource [out, retval]
resultSource is a parameter of type INATraversalResultSource
The SourceByName property returns an NATraversalResultSource object corresponding to the name of the source in the traversal result.
This name is not the same name as the source in the network dataset. For the current ESRI Solvers, the name of this source is prefixed by "ND_" if it is representing a source in a network dataset. This was done to avoid name collisions.