In The Hand LtdIn The Hand
OpenSerialPort Method (portName, baudRate, parity, dataBits, stopBits)
NamespacesInTheHand.VisualBasic.DevicesPortsOpenSerialPort(String, Int32, Parity, Int32, StopBits)
.NET Components for Mobility
Creates and opens a SerialPort object.
Declaration Syntax
C#Visual Basic
public SerialPort OpenSerialPort(
	string portName,
	int baudRate,
	Parity parity,
	int dataBits,
	StopBits stopBits
)
Public Function OpenSerialPort ( _
	portName As String, _
	baudRate As Integer, _
	parity As Parity, _
	dataBits As Integer, _
	stopBits As StopBits _
) As SerialPort
Parameters
portName (String)
Name of the port to open.
baudRate (Int32)
Baud rate of the port.
parity (Parity)
Parity of the port.
dataBits (Int32)
Data-bit setting of the port.
stopBits (StopBits)
Stop-bit setting of the port.
Return Value
An open SerialPort object, configured with the supplied arguments.
Remarks

Assembly: InTheHand.VisualBasic (Module: InTheHand.VisualBasic) Version: 7.0.0.0