|
GPS ToolKit.NET
NavData.DestWptName Property
The name of the current destination waypoint.
Syntax
[Visual Basic]
object.DestWptName
[C#]
object.DestWptName
[C++]
object->DestWptName
Parameters
object
An object expression that evaluates to a NavData object.
Return Value
A string containing the name of the current destination waypoint.
Remarks
If no destination waypoint is selected in the GPS, DestWptName is an empty string.
Default
An empty string ("" or String.Empty)
Errors
None
Example
[Visual Basic]
' Get destination waypoint name
Dim destWptName As string
destWptName = myGPSToolKit.NavigationData.DestWptName
[C#]
// Get destination waypoint ID
string destWptName;
destWptName = myGPSToolKit.NavigationData.DestWptName;
[C++]
// Get destination waypoint ID
String *destWptName;
destWptName = myGPSToolKit->NavigationData->DestWptName;
See Also
OriginWptName property | Route class
|