public enum class SerialData
public enum SerialData
type SerialData =
Public Enum SerialData
會接收字元並放到輸入緩衝區。A character was received and placed in the input buffer.
會接收檔案結尾 (EOF) 字元並放到輸入緩衝區。The end of file character was received and placed in the input buffer.
此列舉會與SerialPort.DataReceived事件搭配使用。This enumeration is used with the SerialPort.DataReceived event. 您可以藉由抓取SerialDataReceivedEventArgs.EventType屬性的值來檢查接收的字元類型。You examine the type of character that was received by retrieving the value of the SerialDataReceivedEventArgs.EventType property. 屬性包含
SerialData列舉中的其中一個值。 EventTypeThe EventType property contains one of the values from the