Home > All Other Interfaces > IRouteWaypoints > ToArray

ToArray

Returns an array containing all of the waypoints in the collection.

 

JavaScript

 

ToArray()

 

C#

 

dynamic ToArray()

 

C++

 

HRESULT ToArray(

      VARIANT* Waypoints)

Return Value

Waypoints

An array that contains triplets of doubles. Each triplet is composed of an x-coordinate, a height, and a y-coordinate.

Exceptions

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