Share via


DiscardInBuffer Method

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

Discards data from the serial driver's receive buffer.

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

Syntax

'Declaration
Public Sub DiscardInBuffer
public void DiscardInBuffer()
public:
void DiscardInBuffer()
member DiscardInBuffer : unit -> unit 
public function DiscardInBuffer()

.NET Framework Security

See Also

Reference

SerialPort Class

System.IO.Ports Namespace