SerialPort
常见例句
- Specifies the parity bit for a SerialPort object.
指定SerialPort对象的奇偶校验位。 - Specifies the number of stop bits used on the SerialPort object.
指定在SerialPort对象上使用的停止位的数目。 - 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对象建立串行端口通信时使用的控制协议。 - 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类会缓冲数据,而BaseStream属性内包含的流则不缓冲数据,因此二者在可读字节数量上可能会不一致。 - 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调制解调器电缆连接的独立计算机上聊天。 返回 SerialPort