Write Method

Description

The Write method writes data to virtual serial port.

Syntax

Visual Basic

object.Write WriteBuffer, [BytesToWrite]

Visual C++

object.Write(CString& WriteBuffer, LONG BytesToWrite)

Delphi

object.Write(const WriteBuffer: WideString; BytesToWrite: Integer): Integer;

Remarks

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.

Errors

This method may throw following exceptions: