Share via


SerialPort.BytesToWrite Property

Gets the number of bytes of data in the send buffer.

Namespace: System.IO.Ports
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public int BytesToWrite { get; }

Property Value

The number of bytes of data in the send buffer.

Remarks

The send buffer includes the serial driver's send buffer as well as internal buffering in the SerialPort object itself.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

SerialPort Class
SerialPort Members
System.IO.Ports Namespace