Visual Basic: MSComm Control

InBufferCount Property

See Also   Example   Applies To

Returns the number of characters waiting in the receive buffer. This property is not available at design time.

Syntax

object.InBufferCount[ = value ]

The InBufferCount property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value An integer expression specifying the number of characters waiting in the receive buffer.

Remarks

InBufferCount refers to the number of characters that have been received by the modem and are waiting in the receive buffer for you to take them out. You can clear the receive buffer by setting the InBufferCount property to 0.

Note   Do not confuse this property with the InBufferSize property. The InBufferSize property reflects the total size of the receive buffer.

Data Type

Integer