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.
指定爲(wèi)SerialPort對象建立串行耑口通信時(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類會緩沖數(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)器電纜連接的獨(dú)立計(jì)算機(jī)上聊天。 返回 SerialPort