CATable::AtomicValue

This page is a translated version of the page CATable::AtomicValue and the translation is 100% complete.

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

CATable::AtomicValue()

从一个零维度 CATable中检索标量值。当结果不是一个数组,或者当你在一个一维数组上调用 Slice或者 Subscript时,将产生一个零维度表格。

一旦你有获得一个 CATable对象,你有三种方法访问单个单元格。你可以使用 CATable::GetDataByLabels CATable::GetDataByElements通过坐标来访问单元格;你可以使用 CATable::GetSafeArray转化成本地数组;或者你可以依此将数组切片一般获得较低维度的 CATable对象,直到最后的单个单元格。当你使用最后一种方法时,AtomicValue用来获取单元格的值。

返回值

变体

示例用法

该表格设定为Visual Basic数组的内容。

x = tab.AtomicValue

错误代码

另请参考

Comments


You are not allowed to post comments.