ArcObjects Library Reference (DataSourcesFile)  

ISMTripPlanSettings.TripPlanningEnable Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Reads the value which enables trip planning during the route finding.

Remarks

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.

See Also

ISMTripPlanSettings Interface