MessageData property
Read-write. Retrieves or sets the entire contents of a message as a character string.
Defined in: MQMessage class
Data Type: Variant
Note: The data type used by this property is Variant but MQAX expects this to be a variant type of String. If you pass in a variant of other than this type then the error MQRC_OBJECT_TYPE_ERROR will be returned.
Syntax: To get: String$ = MQMessage .MessageData
To set: MQMessage .MessageData = String$