CATable::AtomicValue

Revision as of 07:17, 17 October 2015 by Jhuawen (talk | contribs) (Created page with "从一个零维度 CATable中检索标量值。当结果不是一个数组,或者当你在一个一维数组上调用 Slice或者CAT...")

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

CATable::AtomicValue()

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

Once you have a CATable object, there are three approaches for accessing the individual cells. You can access cells by coordinate using CATable::GetDataByLabels and CATable::GetDataByElements; you can convert to a native array using CATable::GetSafeArray; or you can successively slice the array to get CATable table objects of lower dimension until you eventually bottom out at individual cells. When you use the last method, AtomicValue is used to get the cell value.

返回值

变体

示例用法

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

x = tab.AtomicValue

错误代码

另请参考

Comments


You are not allowed to post comments.