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

SQL Anywhere 11.0.1 (日本語) » Ultra Light - C/C++ プログラミング » API リファレンス » Ultra Light C++ API リファレンス » UltraLite_StreamReader_iface クラス

 

GetLength 関数

文字列またはバイナリの値の長さを取得します。

構文
size_t UltraLite_StreamReader_iface::GetLength(
  bool fetch_as_chars
)
パラメータ
  • fetch_as_chars   バイト長の場合は false、文字長の場合は true。

戻り値
  • バイナリ値の場合は、バイト数 (バイナリ値の場合 fetch_as_chars は無視)。

  • 文字列値の場合は、文字数またはバイト数。