SerialData Enumeration

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

Specifies the type of character that was received on the serial port of the SerialPort object.

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

public enum class SerialData

Member nameDescription
CharsA character was received and placed in the input buffer.
EofThe end of file character was received and placed in the input buffer.

This enumeration is used with the DataReceived event. You examine the type of character that was received by retrieving the value of the EventType property of the SerialDataReceivedEventArgs class. The EventType property contains one of the values from the SerialData enumeration.

Show: