DestWptID Property
Gets the ID (name) of the current destination waypoint.
Syntax
Visual Basic
object.DestWptID
Visual C++
object.GetDestWptID()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
'Get destination waypoint ID
Dim destWpt As String
destWpt = myGPSToolKit.DestWptID
Visual C++
_variant_t vtDestWpt;
// Get destination waypoint ID
vtDestWpt = m_myGPSToolKit.GetDestWptID();
_bstr_t convBSTR = (_bstr_t)vtDestWpt;
CString strDestWpt = (LPCSTR)convBSTR;
Remarks
None
Default
Empty (VT_EMPTY)
Returns
A VARIANT (type VT_BSTR/BSTR/VB String) containing the ID (name) of the last reported destination waypoint.
Errors
None
See Also
OrigWptID property, RouteName property, WptsInRoute property, NavUpdate event
|