Denso BHT-400-CE Reference Manual page 304

Bar code handy terminal class library reference manual
Table of Contents

Advertisement

OutBufferCount
Acquires the size of meaningful data in the send buffer (out buffer).
Syntax
[VB]
Public Property ReadOnly
[C#]
public int
OutBufferCount
Property
Size of meaningful data in the send buffer (out buffer) (bytes)
Exceptions
Name of Exception
ObjectDisposedException
Note
Data can be stored in the send buffer (out buffer) using the Output method.
If the port is closed by specifying "false" for the PortOpen property, the size of meaningful
data is reset to "0".
[Ex.] Send the len(byte) data when there is no longer any data in the send buffer.
[VB]
If MyComm.OutBufferCount = 0 Then
MyComm.Output(buffer, 0, len)
End If
[C#]
if (MyComm.OutBufferCount == 0)
{
MyComm.Output(buffer, 0, len);
}
OutBufferCount
As Integer
{get}
Meaning
The COM port has not been opened yet.
- 298 -

Advertisement

Table of Contents
loading

Table of Contents