Share via


BytesToWrite Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System.IO.Ports
Assembly:  Microsoft.SPOT.Hardware.SerialPort (in Microsoft.SPOT.Hardware.SerialPort.dll)

Syntax

'Declaration
Public ReadOnly Property BytesToWrite As Integer
public int BytesToWrite { get; }
public:
property int BytesToWrite {
    int get ();
}
member BytesToWrite : int with get
function get BytesToWrite () : int

Property Value

Type: System. . :: . .Int32
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.

.NET Framework Security

See Also

Reference

SerialPort Class

System.IO.Ports Namespace