SetBreak Method
Suspends/restores character transmission.
Syntax
Visual Basic | Sub SetBreak(Value As Boolean) |
---|---|
Visual C++ (MFC) | void SetBreak(BOOL Value); |
Visual C++ (#import) | void SetBreak(VARIANT_BOOL Value); |
Parameters
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.
Errors
The method may throw exception. Use GetLastError method to get the error code.