getStringProperty function

Syntax
qa_int QAMessage::getStringProperty(
  qa_const_string name,
  qa_int offset,
  qa_string dest,
  qa_int maxlen
)
Parameters
  • name   The name of the property to get.

  • offset   The starting offset into the property value from which to copy.

  • dest   The destination for the qa_string value.

  • maxlen   The maximum number of qa_chars of the value to copy. This value includes the null terminator qa_char.

Remarks

Gets the value of the qa_string property (starting at offset) with the specified name.

For more information about getting and setting message headers and properties, see Introduction to QAnywhere messages.

See Also

MessageProperties class

Returns

The number of non-null qa_chars actually copied, or -1 if the operation failed.