Write method

Writes a sequence of bytes to the message buffer from a byte array at the position referred to by Data Offset. If necessary the length of the buffer (MQMessage.MQMessageLength) is extended to accommodate the full length of the byte array. DataOffset is incremented by the number of bytes written if the method succeeds.

Defined in:

MQMessage class

Syntax:
Call MQMessage.Write(value)

Parameters:

data: a byte array or a variant reference to a byte array