C# SDK

◆ GetItineraryList()

static int GetItineraryList ( out SError  Error,
string  strItineraryName,
out SStopOffPoint []  PointsArr,
Int32  MaxTime 
)
inlinestatic

The function returns list of waypoints in itinerary.

Parameters
ErrorAdditional error information returned from Drive.
strItineraryNameName of itinerary from which waypoints will be retrieved. If the name of itinerary is "default", function returns the list of waypoints from current route.
PointsArrArray of SStopOffPoint which will contain waypoints of itinerary after function execution.
MaxTimeMaximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited.
Returns
1 if successful, other value otherwise.



Possible error codes returned from Drive are:

  • 0 - Function not succeeded.
  • 1 - Function succeeded.
  • 2 - Drive not succeeded.
  • 3 - Function reached timeout.



References SError.SizeOf().