CATable::PutSafeArray
Revision as of 08:02, 25 October 2015 by Jhuawen (talk | contribs) (Created page with "当你设置一个具有2个或者更多维度的数组时,你应该先调用SetIndexOrder来确保结果中维度的顺序是你想要的顺...")
ADE User Guide > ADE Server Class Reference > CATable
CATable::PutSafeArray(theArray)
使用相同维度的一个数组内容替换当前表格的内容。
当你设置一个具有2个或者更多维度的数组时,你应该先调用SetIndexOrder来确保结果中维度的顺序是你想要的顺序。
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
Enable comment auto-refresher