About PortController
Introduction
Purchasing PortController
Redistributing PortController
License Agreement
Support
Getting Started
How to Use PortController
PortController Sample Projects
Handling PortController Errors
Reference
Properties
AvailableSystemPorts
BaudRate Property
Break Property
BytesUsedRQ Property
BytesUsedTQ Property
Cd Property
Cts Property
DataBits Property
Dsr Property
Dtr Property
DtrDsr Property
EnableReadOnEventChar Property
EventChar Property
ForceBeginInvokeEventFiring Property
IsOpen Property
IsFileTransferInProgress Property
Parity Property
PortHandle Property
PortName Property
ReceiveBufferSize Property
Ring Property
Rts Property
RtsCts Property
StopBits Property
SystemPorts Property
TraceOutput Property
TransmitBufferSize
XoffByte Property
XonByte Property
XonXoff Property
Methods
CancelFileTransfer Method
ClearRQ Method
ClearTQ Method
Close Method
GetErrorStatus Method
Open Method
Read Method
ReadBinary Method
ReceiveFileXModem Method
ReceiveFileXModemCRC Method
ReceiveFileYModem Method
ReceiveFileZModem Method
SendFileXModem Method
SendFileXModem1k Method
SendFileYModem Method
SendFileZModem Method
SimulateReceivedXoff Method
SimulateReceivedXon Method
Write Method
WriteBinary Method
Events
OnBreakSignal Event
OnCdToggle Event
OnCtsToggle Event
OnDataReceived Event
OnDsrToggle Event
OnError Event
OnEventCharReceived Event
OnFileTransferComplete Event
OnFileTransferStatusUpdate Event
OnRing Event
OnTQEmpty Event

BytesUsedRQ Property

Returns a long integer indicating how many bytes are in the receive queue.

Syntax

[Visual Basic]
object.BytesUsedRQ

[C#]
object.BytesUsedRQ

[C++]
object->BytesUsedRQ

Parameters

object

An object expression that evaluates to a PortController object.

Return Value

A long integer representing the number of bytes in the receive queue.

Remarks

This property is read-only.

Errors

None

Example

[Visual Basic]
Dim bytesUsed As Int32
bytesUsed = myPortController.BytesUsedRQ


[C#]
Int32 BytesUsed = myPortController.BytesUsedRQ;


[C++]
Int32 BytesUsed = myPortController->BytesUsedRQ;

See Also

BytesUsedTQ property | ClearRQ method | ClearTQ method