Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere C++ API reference » QAMessage class

 

castToTextMessage function

Syntax
QATextMessage * QAMessage::castToTextMessage()
Remarks

Casts this QAMessage to a QATextMessage.

You can also use the conversion operator to convert this QAMessage to a QATextMessage.

For example, to convert a QAMessage to a QATextMessage using the conversion operator, do the following:

 QAMessage *msg;
 QATextMessage *bmsg;
 ...
 bmsg = (QATextMessage *)(*msg);
 
Returns

A pointer to the QATextMessage, or null if this message is not an instance of QATextMessage.