Table of Contents

Enum SerialData

Namespace
System.IO.Ports
Assembly
System.IO.Ports.dll

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

public enum SerialData

Fields

Chars = 1

A character was received and placed in the input buffer.

WatchChar = 2

The watch 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. The EventType property contains one of the values from the SerialData enumeration.