GetWaypoint

Retrieves waypoint data through an interface to the waypoint object.

 

JavaScript

 

GetWaypoint(

      Index)

 

C#

 

IRouteWaypoint61 GetWaypoint(

      int Index)

 

C++

 

HRESULT GetWaypoint(

      long Index,

      IRouteWaypoint61** pWaypoint)

Parameters

Index

A zero based index of the waypoint for which to retrieve data.

Return Value

pWaypoint

An IRouteWaypoint61 representing the queried waypoint.

Exceptions

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