CATable::PutSafeArray

Revision as of 08:01, 25 October 2015 by Jhuawen (talk | contribs) (Created page with "使用相同维度的一个数组内容替换当前表格的内容。")

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

CATable::PutSafeArray(theArray)

使用相同维度的一个数组内容替换当前表格的内容。

When you are setting an array with 2 or more dimensions, you should call SetIndexOrder first to ensure the order of dimensions are in correspondence.

After you have called PutSafeArray, you must also call CATable::Update to make the table data take effect in the model.

返回值

Boolean(布尔值:success或者 failure)

示例用法

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

Dim Var As Object
Dim TheArray
TheArray = Var.GetSafeArray
Var.PutSafeArray (TheArray)

错误代码

24 – “Subscript(下标)必须是一个数组变体”
50 – “安全数组尺寸,或者维数不对”

另请参考

Comments


You are not allowed to post comments.