Share via


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)

Syntax

'Declaration
Public Enumeration SerialData
public enum SerialData
public enum class SerialData
type SerialData
public enum SerialData

Members

Member name Description
Chars A character was received and placed in the input buffer.
Eof The end of file character was received and placed in the input buffer.

Remarks

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.

See Also

Reference

System.IO.Ports Namespace