CATable::AtomicValue
ADE User Guide > ADE Server Class Reference > CATable
CATable::AtomicValue()
Retrieves the scalar value from a zero-dimensional CATable object. A zero-dimensional table results when a result is not an array, or when you call Slice or Subscript on a one-dimensional array.
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
Enable comment auto-refresher