Home > All Other Interfaces > IRouteWaypoints > DeleteWaypoint

DeleteWaypoint

Deletes a waypoint from the route.

 

JavaScript

 

DeleteWaypoint(

      Index)

 

C#

 

void DeleteWaypoint(

      int Index)

 

C++

 

HRESULT DeleteWaypoint(

      long Index)

Parameters

Index

The zero-based index of the route waypoint to be deleted. Use Count to determine the number of waypoints.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.