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


INATraversalResult.AddSource Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

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