Input

This property returns and removes a stream of data from the receive buffer.

Syntax

object.Input

Parameters

object
Object expression that evaluates to a Comm control.

Remarks

The Input property is unavailable at design time. It is read-only at run time.

The InputLen property determines the number of characters that are read by the Input property. Setting InputLen to 0 causes the Input property to read the entire contents of the receive buffer.

The InputMode property determines the type of data that is retrieved with the Input property. If InputMode is set to 0, then the Input property returns text data in a Variant. If InputMode is 1, then the Input property returns binary data in an array of bytes in a Variant.