CATable::PutSafeArray

Revision as of 09:10, 20 October 2015 by Jhuawen (talk | contribs) (Created page with "= 另请参考 =")

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

CATable::PutSafeArray(theArray)

Replaces the contents of the current table with the contents of an array having the same dimensions.

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)

示例用法

The table is set to the contents of the Visual Basic array.

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

错误代码

24 – “Subscripts must be an array of variants”
50 – “Safe-array has incorrect size or number of dimensions”

另请参考

Comments


You are not allowed to post comments.