GetWaypoint

Retrieves waypoint data through an interface to the waypoint object.

 

JavaScript

 

GetWaypoint(

       Index)

 

C#

 

IRouteWaypoint65 GetWaypoint(

       int Index)

 

C++

 

HRESULT GetWaypoint(

       long Index,

       IRouteWaypoint65** pWaypoint)

Parameters

Index

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

Return Value

pWaypoint

An IRouteWaypoint65 representing the queried waypoint.

Exceptions

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