SerialPort
常見例句
- Specifies the parity bit for a SerialPort object.
指定SerialPort對象的奇偶校驗位。 - Specifies the number of stop bits used on the SerialPort object.
指定在SerialPort對象上使用的停止位的數(shù)目。 - Represents the method that will handle the serial pin changed event of a SerialPort object.
表示將處理SerialPort對象的串行管腳更改事件的方法。 - Specifies the control protocol used in establishing a serial port communication for a SerialPort object.
指定為SerialPort對象建立串行端口通信時使用的控制協(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類會緩沖數(shù)據(jù),而BaseStream屬性內(nèi)包含的流則不緩沖數(shù)據(jù),因此二者在可讀字節(jié)數(shù)量上可能會不一致。 - 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類以允許兩位用戶分別在兩臺通過NULL調(diào)制解調(diào)器電纜連接的獨立計算機上聊天。 返回 SerialPort