SerialPort Constructor
.NET Framework 2.0
Initializes a new instance of the SerialPort class.
| Name | Description |
|---|---|
| SerialPort () | Initializes a new instance of the SerialPort class. Supported by the .NET Compact Framework. |
| SerialPort (IContainer) | Initializes a new instance of the SerialPort class using the specified IContainer object. Supported by the .NET Compact Framework. |
| SerialPort (String) | Initializes a new instance of the SerialPort class using the specified port name. Supported by the .NET Compact Framework. |
| SerialPort (String, Int32) | Initializes a new instance of the SerialPort class using the specified port name and baud rate. Supported by the .NET Compact Framework. |
| SerialPort (String, Int32, Parity) | Initializes a new instance of the SerialPort class using the specified port name, baud rate, and parity bit. Supported by the .NET Compact Framework. |
| 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. Supported by the .NET Compact Framework. |
| 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. Supported by the .NET Compact Framework. |