ZylSerialPort.NET

SerialPort Constructor (SerialCommPort, SerialDataWidth, SerialStopBits, SerialParityBits, SerialHardwareFlowControl, SerialSoftwareFlowControl)

Constructor.

[Visual Basic]
Overloads Public Sub New( _
   ByVal SerialPort.SerialCommPort As SerialCommPort, _
   ByVal SerialPort.SerialDataWidth As SerialDataWidth, _
   ByVal SerialPort.SerialStopBits As SerialStopBits, _
   ByVal SerialPort.SerialParityBits As SerialParityBits, _
   ByVal SerialPort.SerialHardwareFlowControl As SerialHardwareFlowControl, _
   ByVal SerialPort.SerialSoftwareFlowControl As SerialSoftwareFlowControl _
)
[C#]
public SerialPort(
   SerialPort.SerialCommPort port,
   SerialPort.SerialDataWidth dataWidth,
   SerialPort.SerialStopBits stopBits,
   SerialPort.SerialParityBits parityBits,
   SerialPort.SerialHardwareFlowControl hwFlowControl,
   SerialPort.SerialSoftwareFlowControl swFlowControl
);

Parameters

SerialPort.SerialCommPort
Physical name of the serial port.
SerialPort.SerialDataWidth
Number of bits in the bytes transmitted and received.
SerialPort.SerialStopBits
Number of stop bits to be used.
SerialPort.SerialParityBits
Parity scheme to be used.
SerialPort.SerialHardwareFlowControl
Hardware flow control.
SerialPort.SerialSoftwareFlowControl
Software flow control.

See Also

SerialPort Class | ZylSerialPort Namespace | SerialPort Constructor Overload List