|
GPS ToolKit.NET
IsOpen Property
Returns the state of the COM port underlying the GPS connection.
Syntax
[Visual Basic]
object.IsPortOpen
[C#]
object.IsPortOpen
[C++]
object->IsPortOpen
Parameters
object
An object expression that evaluates to a GPSToolKit object.
Return Value
The boolean value true if the COM port is open, false otherwise.
Default
False
Remarks
This property is read-only.
Errors
None
Example
[Visual Basic]
Dim isOpen As Boolean
isOpen = myGPSToolKit.IsPortOpen
[C#]
Boolean isOpen = myGPSToolKit.IsPortOpen;
[C++]
Boolean isOpen = myGPSToolKit->IsPortOpen;
See Also
Open method | Close method | IsGPSConnected method
|