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.AddSource Method (ArcObjects .NET 10.5 SDK) |
Add a network traversal source.
[Visual Basic .NET] Public Sub AddSource ( _ ByVal resultSource As INATraversalResultSource _ )
[C#] public void AddSource ( INATraversalResultSource resultSource );
[C++]
HRESULT AddSource(
INATraversalResultSource* resultSource
);
[C++]
Parameters resultSource [in]
resultSource is a parameter of type INATraversalResultSource
The AddSource method is used by people writing custom solvers to add a source to the traversal result.