WriteDouble4 method

See ReadDouble4 method for a description of when ReadDouble4 and WriteDouble4 should be used in place of ReadFloat and WriteFloat.

This method takes a signed 8-byte floating point value and writes it into the Message Data buffer as a 4-byte floating number starting at the position referred to by DataOffset.

DataOffset is incremented by 4 if the method succeeds.

It replaces any data already at these positions in the buffer, and extends the length of the buffer (MQMessage.MessageLength) if necessary.

The method converts to the floating point representation specified by the MQMessage.Encoding property. Conversion to System/360 format is not supported.

Defined in: MQMessage class

Syntax:
Call MQMessage.WriteDouble4(value#)

Parameter: value# Double. Value to be written.