Suspends/restores character transmission.
| Visual Basic | Sub SetBreak(Value As Boolean)
|
|---|---|
| Visual C++ (MFC) | void SetBreak(BOOL Value);
|
| Visual C++ (#import) | void SetBreak(VARIANT_BOOL Value);
|
Value
[in] Break status. If TRUE, suspends character transmission and places the transmission line in a break state. If FALSE, restores character transmission and places the transmission line in a nonbreak state.
The method may throw exception. Use GetLastError method to get the error code.