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.