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


INATraversalResult.AddSource Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INATraversalResult Interface > INATraversalResult.AddSource Method
ArcGIS Developer Help

INATraversalResult.AddSource Method

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

The AddSource method is used by people writing custom solvers to add a source to the traversal result.

See Also

INATraversalResult Interface