ArcObjects Library Reference (NetworkAnalyst)  

INACompactStreetDirectionsAgent.Execute Method

Constructs the directions.

[Visual Basic .NET]
Public Sub Execute ( _
    ByVal set As ISet, _
    ByVal TrackCancel As ITrackCancel _
)
[C#]
public void Execute (
    ISet set,
    ITrackCancel TrackCancel
);
[C++]
HRESULT Execute(
  ISet* set,
  ITrackCancel* TrackCancel
);
[C++]

Parameters

set [in]

  set is a parameter of type ISet

TrackCancel [in]

  TrackCancel is a parameter of type ITrackCancel

Product Availability

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

Remarks

Execute is a method to compute the driving directions.  This method takes a set containing the route features that you want to generate directions for.  If null is passed in, it will generate directions for all routes.  If you want to generate directions for a subset of the routes, create a new set object and add route features from the corresponding Routes or CFRoutes network analysis class.

See Also

INACompactStreetDirectionsAgent Interface