DataLength property

Read-only. This property returns the value:

MQMessage.MessageLength - MQMessage.DataOffset

It can be used before a Read method, to check that the expected number of characters are actually present in the buffer.

The initial value is zero.

Defined in: MQMessage class

Data Type: Long

Syntax:
To get: bytesleft& = MQMessage.DataLength