Cts Property
Returns the state of the clear-to-send line.
Syntax
Visual Basic
object.Cts
Visual C++
object.GetCts()
Delphi
object.Cts
| Part
| Description |
| object |
An object expression that evaluates to a PortController object.
|
Example
Visual Basic
Dim cts As Boolean
cts = myPortController.Cts
Visual C++
BOOL bCts = m_myPortController.GetCts();
Delphi
var cts: boolean; // declare variable in the proper place
cts := myPortController.Cts <> 0;
Remarks
This property is read-only.
Returns
The boolean value TRUE if the CTS signal is on, FALSE otherwise.
Errors
None
See Also
Cd, Dsr, Ring
|