WriteLong method

This method takes a signed 4-byte integer value and writes it into the Message Data buffer as a 4-byte binary number starting at the byte referred to by DataOffset. It replaces any data already at these positions in the buffer, and extends the length of the buffer (MQMessage.MessageLength) if necessary.

DataOffset is incremented by 4 if the method succeeds.

The method converts to the binary representation specified by the MQMessage.Encoding property.

Defined in: MQMessage class

Syntax:
Call MQMessage.WriteLong(value&)

Parameter value& Long. Value to be written.