SerialData SerialData SerialData SerialData Enum

Definición

Especifica el tipo de carácter que se ha recibido en el puerto serie del objeto SerialPort.Specifies the type of character that was received on the serial port of the SerialPort object.

public enum class SerialData
public enum SerialData
type SerialData = 
Public Enum SerialData
Herencia

Campos

Chars Chars Chars Chars 1

Se ha recibido y colocado un carácter en el búfer de entrada.A character was received and placed in the input buffer.

Eof Eof Eof Eof 2

Se ha recibido y colocado el carácter de fin de archivo en el búfer de entrada.The end of file character was received and placed in the input buffer.

Comentarios

Esta enumeración se utiliza con DataReceived el evento.This enumeration is used with the DataReceived event. Examine el tipo de carácter que se ha recibido recuperando el valor de la propiedad ReceivedEventArgs. EventType de la clase ReceivedEventArgs.You examine the type of character that was received by retrieving the value of the ReceivedEventArgs.EventType property of the ReceivedEventArgs class. La propiedad ReceivedEventArgs. EventType contiene uno de los valores de la EventType enumeración.The ReceivedEventArgs.EventType property contains one of the values from the EventType enumeration.

Se aplica a