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

SQL Anywhere 11.0.1 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » ULValue class


GetString function

Retrieves the current value into a string buffer, casting as required.

void ULValue::GetString(
  char * dst,
  size_t len
  • dst   The buffer to receive string value.

  • len   The length, in bytes, of dst.


The output string is always null-terminated. If the buffer is too small then the value is truncated. Up to len characters are copied to the given buffer, including the null terminator.