The Write method writes data to virtual serial port.
object.Write WriteBuffer, [BytesToWrite]
object.Write(CString& WriteBuffer, LONG BytesToWrite)
object.Write(const WriteBuffer: WideString; BytesToWrite: Integer): Integer;
| Parameter | Description |
|---|---|
| WriteBuffer | [in] A string containing the data to be written to the serial port. |
| BytesToWrite | [in] A number of bytes to be written to the serial port. |
This method may throw following exceptions: