Home > All Other Interfaces > IRouteWaypoints > GetWaypoint

GetWaypoint

Retrieves waypoint data through an interface to the waypoint object.

 

JavaScript

 

GetWaypoint(

      Index)

 

C#

 

IRouteWaypoint6 GetWaypoint(

      int Index)

 

C++

 

HRESULT GetWaypoint(

      long Index,

      IRouteWaypoint6** pWaypoint)

Parameters

Index

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

Return Value

pWaypoint

An IRouteWaypoint6 representing the queried waypoint.

Exceptions

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