Share via


SerialPort.DiscardOutBuffer Method

Discards data from the serial driver's transmit buffer.

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

Syntax

public void DiscardOutBuffer ()

Remarks

This method is equivalent to the following Visual Basic 6.0 code: MSComm1.OutBufferCount = 0.

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