SerialPort Properties

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The SerialPort type exposes the following members.

  Name Description
Public property BaseStream Gets the underlying Stream object for a SerialPort object.
Public property BaudRate Gets or sets the serial baud rate.
Public property BytesToRead Gets the number of bytes of data in the receive buffer.
Public property BytesToWrite Gets the number of bytes of data in the send buffer.
Public property CanRead Gets a value indicating whether the current stream supports reading. (Overrides Stream..::..CanRead.)
Public property CanSeek Gets a value indicating whether the current stream supports seeking. (Overrides Stream..::..CanSeek.)
Public property CanTimeout Gets a value that indicates whether the current stream can time out. (Overrides Stream..::..CanTimeout.)
Public property CanWrite Gets a value that indicates whether the current stream supports writing. (Overrides Stream..::..CanWrite.)
Public property DataBits Gets or sets the standard length of data bits per byte.
Public property Handshake Gets or sets the handshaking protocol for serial port transmission of data.
Public property IsOpen Gets a value indicating the open or closed status of the SerialPort object.
Public property Length Gets the length in bytes of the stream. (Overrides Stream..::..Length.)
Public property Parity Gets or sets the parity-checking protocol.
Public property PortName Gets or sets the port for communications, including but not limited to all available COM ports.
Public property Position Gets or sets the position in the current stream. (Overrides Stream..::..Position.)
Public property ReadTimeout Gets or sets the number of milliseconds before a time-out occurs when a read operation does not finish. (Overrides Stream..::..ReadTimeout.)
Public property StopBits Gets or sets the standard number of stopbits per byte.
Public property WriteTimeout Gets or sets the number of milliseconds before a time-out occurs when a write operation does not finish. (Overrides Stream..::..WriteTimeout.)
Top
Show: