Output

Writes a stream of data to the transmit buffer. This property is not available at design time and is write-only at run time.

Syntax

object.Output [ = value ]

The parts of the Output property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
value A string of characters to write to the transmit buffer.

Remarks

The Output property can transmit text data or binary data. To send text data using the Output property, you must specify a Variant that contains a string. To send binary data, you must pass a Variant which contains a byte array to the Output property.

Normally, if you are sending an ANSI string to an application, you can send it as text data. If you have data that contains embedded control characters, null characters, etc., then you will want to pass it as binary data.

Data Type

Variant