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

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


GetString function

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

  • len   The length, in bytes, of dst.


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

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.