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