常見(jiàn)例句Specifies the parity bit for a SerialPort object. 指定SerialPort對(duì)象的奇偶校驗(yàn)位。Specifies the number of stop bits used on the SerialPort object. 指定在SerialPort對(duì)象上使用的停止位的數(shù)目。Represents the method that will handle the serial pin changed event of a SerialPort object. 表示將處理SerialPort對(duì)象的串行管腳更改事件的方法。Specifies the control protocol used in establishing a serial port communication for a SerialPort object. 指定為SerialPort對(duì)象建立串行端口通信時(shí)使用的控制協(xié)議。Because the SerialPort class buffers data, and the stream contained in the BaseStream property does not, the two might conflict about how many bytes are available to read. 由于SerialPort類(lèi)會(huì)緩沖數(shù)據(jù),而B(niǎo)aseStream屬性?xún)?nèi)包含的流則不緩沖數(shù)據(jù),因此二者在可讀字節(jié)數(shù)量上可能會(huì)不一致。The following code example demonstrates the use of the SerialPort class to allow two users to chat from two separate computers connected by a null modem cable. 下面的代碼示例演示如何使用SerialPort類(lèi)以允許兩位用戶(hù)分別在兩臺(tái)通過(guò)NULL調(diào)制解調(diào)器電纜連接的獨(dú)立計(jì)算機(jī)上聊天。 返回 SerialPort