CATable::SetIndexOrder

Revision as of 09:27, 17 October 2015 by Jhuawen (talk | contribs) (Created page with "将表格中索引的顺序设置成«indexNames»的顺序,«indexNames»必须只包含表格中索引元素的名称,假设该表格不只一个索引。该顺序决定...")

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

描述

将表格中索引的顺序设置成«indexNames»的顺序,«indexNames»必须只包含表格中索引元素的名称,假设该表格不只一个索引。该顺序决定使用 SetDataByElements, SetDataByLabels, GetDataByElements and GetDataByLabels来访问表格中单元格的顺序。

The index order is also used as the table pivot by GraphToStream and GraphToFile unless the GraphWithStoredPivot property is set to true.

数据类型

布尔值

示例用法

Dim indexNames(2)
indexNames(1) = "X"
indexNames(2) = "Y"
tab.SetIndexOrder(indexNames)

说明

API 错误

  • 24 – “下标必须是一个由变体组成的数组”
  • 26 – “下标数组的下界无法访问”
  • 27 – “下标数组的上界无法访问”
  • 28 – “必须最少指定数组中的一个元素”
  • 52 – “指定名称不是该数组的索引”

另请参考

Comments


You are not allowed to post comments.