Returns an array containing all of the waypoints in the collection.
JavaScript |
|
ToArray() |
C# |
|
dynamic ToArray() |
C++ |
|
HRESULT ToArray( VARIANT* Waypoints) |
Return Value
Waypoints
A Safe Array that contains triplets of doubles. Each triplet is composed of an x-coordinate, a height, and a y-coordinate.
Note: In JavaScript, use the VBArray object. E.g.,
var waypoints = route.Waypoints.ToArray()
var arr = new VBArray(waypoints).toArray();
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.