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 参考 » QAMessage 类

 

nextPropertyName 函数

语法
qa_int QAMessage::nextPropertyName(
  qa_property_enum_handle h,
  qa_string buffer,
  qa_int bufferLen
)
参数
  • h   beginEnumPropertyNames 返回的句柄。

  • buffer   要写入属性名称的缓冲区。

  • bufferLen   存储属性名称的缓冲区的长度。此长度必须包括用于空终止符的空间。

注释

返回给定枚举的消息属性名称;如果没有其它属性名称,则返回 -1。

返回值

属性名称的长度;如果没有其它属性名称,则返回 -1。