Inserts a waypoint at a specified point in the route.
| JavaScript | 
 | 
| 
 
 
 | |
| C# | 
 | 
| 
 
 
 | |
| C++ | 
 | 
| 
 
 
 | |
Parameters
IndexInsertAfter
The zero-based index of the waypoint after which the new waypoint should be inserted.
pWaypoint
An IRouteWaypoint61 representing the inserted waypoint.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.