Share via


SerialPort Constructor

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

Initializes a new instance of the SerialPort class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SerialPort(String) Initializes a new instance of the SerialPort class using the specified port name.
Public method SerialPort(String, Int32) Initializes a new instance of the SerialPort class using the specified port name and baud rate.
Public method SerialPort(String, Int32, Parity) Initializes a new instance of the SerialPort class using the specified port name, baud rate, and parity bit.
Public method SerialPort(String, Int32, Parity, Int32) Initializes a new instance of the SerialPort class using the specified port name, baud rate, parity bit, and data bits.
Public method SerialPort(String, Int32, Parity, Int32, StopBits) Initializes a new instance of the SerialPort class using the specified port name, baud rate, parity bit, data bits, and stop bit.

Top

See Also

Reference

SerialPort Class

System.IO.Ports Namespace