SerialPort Constructor

SerialPort Constructor

 

Initializes a new instance of the SerialPort class.

Namespace:   System.IO.Ports
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodSerialPort()

Initializes a new instance of the SerialPort class.

System_CAPS_pubmethodSerialPort(IContainer)

Initializes a new instance of the SerialPort class using the specified IContainer object.

System_CAPS_pubmethodSerialPort(String)

Initializes a new instance of the SerialPort class using the specified port name.

System_CAPS_pubmethodSerialPort(String, Int32)

Initializes a new instance of the SerialPort class using the specified port name and baud rate.

System_CAPS_pubmethodSerialPort(String, Int32, Parity)

Initializes a new instance of the SerialPort class using the specified port name, baud rate, and parity bit.

System_CAPS_pubmethodSerialPort(String, Int32, Parity, Int32)

Initializes a new instance of the SerialPort class using the specified port name, baud rate, parity bit, and data bits.

System_CAPS_pubmethodSerialPort(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.

Return to top
Show:
© 2016 Microsoft