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 > INACompactStreetDirectionsAgent Interface > INACompactStreetDirectionsAgent.Execute Method (ArcObjects .NET 10.5 SDK) |
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
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.