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

SQL Anywhere 11.0.1 (日本語) » QAnywhere » QAnywhere リファレンス » QAnywhere .NET API リファレンス » クライアント用 QAnywhere .NET API (.NET 2.0) » QATextMessage インタフェース

 

ReadText メソッド

未読テキストを指定されたバッファ内に読み込みます。

構文
Visual Basic
Public Function ReadText( _
   ByVal buf As System.Text.StringBuilder _
) As Integer
C#
public int ReadText(
   System.Text.string Builder buf
);
パラメータ
  • buf   テキストの読み込み先バッファ。

戻り値

読み込まれた文字数。読み込めるテキストが残っていない場合は -1。

備考

未読テキストが追加された場合、そのテキストを読み込むにはこのメソッドを繰り返し呼び出す必要があります。読み込みは、未読テキストの先頭から実行されます。