GetWaypoint

Retrieves waypoint data through an interface to the waypoint object.

 

JavaScript

 

GetWaypoint(

       Index)

 

C#

 

IRouteWaypoint66 GetWaypoint(

       int Index)

 

C++

 

HRESULT GetWaypoint(

       long Index,

       IRouteWaypoint66** pWaypoint)

Parameters

Index

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

Return Value

pWaypoint

An IRouteWaypoint66 representing the queried waypoint.

Exceptions

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