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

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere .NET API reference » iAnywhere.QAnywhere.Client namespace (.NET 2.0)


QATextMessage interface

QATextMessage inherits from the QAMessage class and adds a text message body. QATextMessage provides methods to read from and write to the text message body.

Visual Basic
Public Interface QATextMessage
public interface QATextMessage

When the message is first created, the body of the message is in write-only mode. After a message has been sent, the client that sent it can retain and modify it without affecting the message that has been sent. The same message object can be sent multiple times.

When a message is received, the provider has called QATextMessage.Reset() so that the message body is in read-only mode and reading of values starts from the beginning of the message body.

See also

QATextMessage members
Text property
TextLength property
ReadText method
Reset method
WriteText method