|
GPS ToolKit.NET
ShutOffGPS Method
Turns the GPS off.
Syntax
[Visual Basic]
object.ShutOffGPS()
[C#]
object.ShutOffGPS()
[C++]
object->ShutOffGPS()
Parameters
object
An object expression that evaluates to a GPSToolKit object.
Return Value
None
Remarks
- Not all GPS units support the ability to be turned off programatically.
- This method automatically closes the underlying COM port.
- This method is only supported when using the Garmin protocol.
Errors
If using the NMEA 0183 protocol, this method will return a NotSupportedException exception.
Example
[Visual Basic]
myGPSToolKit.ShutOffGPS()
[C#]
myGPSToolKit.ShutOffGPS();
[C++]
myGPSToolKit->ShutOffGPS();
|