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 C++ API リファレンス » QATextMessage クラス

 

readText 関数

構文
qa_int QATextMessage::readText(
  qa_string string,
  qa_int length
)
パラメータ
  • string   テキストの格納先。

  • length   格納先バッファに読み込む qa_char の最大数 (NULL ターミネータも含む)。

備考

現在のテキスト位置から、要求された長さのテキストをバッファ内に読み込みます。

戻り値

実際に読み込まれた NULL 以外の qa_char の数。テキスト・ストリーム全体が読み込まれた場合は -1。