SerialPort::BytesToWrite Property
.NET Framework (current version)
Gets the number of bytes of data in the send buffer.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| IOException | The port is in an invalid state. |
| InvalidOperationException |
The send buffer includes the serial driver's send buffer as well as internal buffering in the SerialPort object itself.
.NET Framework
Available since 2.0
Available since 2.0
Show: