This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMTripPlanSettings Interface > ISMTripPlanSettings.TripPlanningEnable Property (ArcObjects .NET 10.4 SDK) |
Indicates whether trip planning is enabled.
[Visual Basic .NET] Public Property TripPlanningEnable As Boolean
[C#] public bool TripPlanningEnable {get; set;}
[C++]
HRESULT get_TripPlanningEnable(
VARIANT_BOOL* pVal
);
[C++]
HRESULT put_TripPlanningEnable(
VARIANT_BOOL pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type VARIANT_BOOL pVal [in] pVal is a parameter of type VARIANT_BOOL
Reads the value which enables trip planning during the route finding.
If TripPlanningEnable is set to True then router finds the route and generates directions using all settings made in ISMTripPlanSettings interface. Otherwise no trip planning is performed.