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 - M-Business Anywhere 编程 » UltraLite for M-Business Anywhere API 参考 » ResultSetSchema 类

 

getColumnCount 方法

返回此游标中的列数。

语法
UInt16 getColumnCount();
注释

列 ID 的范围是从 1 到 getColumnCount(含 1 和 getColumnCount)。

列 ID 和计数在模式升级过程中可能发生变化。为了正确地标识列,请按名称访问它,或者在模式升级后刷新高速缓存中的 ID 和计数。