Difference between revisions of "CATable::GetSafeArray/zh"

(Created page with "* CATable::GetDataByLabels CATable::GetDataByElements * CATable::PutSafeArray/zh | CATable::PutSafeAr...")
(Created page with "当你读取一个具有2个或者更多维度的数组时,你应该先调用 SetIndexOrder来确保结果中维度的顺序是你想要的顺...")
Line 6: Line 6:
 
Retrieves the [[CATable]] as a safe array (i.e., a Visual Basic array, .NET array, etc). The ordering of the dimensions is controlled by the [[CATable::SetIndexOrder|SetIndexOrder]] method. The elements of each dimension are indexed 1 to N, where N is the size of each index.
 
Retrieves the [[CATable]] as a safe array (i.e., a Visual Basic array, .NET array, etc). The ordering of the dimensions is controlled by the [[CATable::SetIndexOrder|SetIndexOrder]] method. The elements of each dimension are indexed 1 to N, where N is the size of each index.
  
When you are reading an array with 2 or more dimensions, you should call [[CATable::SetIndexOrder|SetIndexOrder]] first to ensure the order of dimensions in the result are in the order you would like.
+
当你读取一个具有2个或者更多维度的数组时,你应该先调用[[CATable::SetIndexOrder/zh | SetIndexOrder]]来确保结果中维度的顺序是你想要的顺序。
  
 
= 返回值 =
 
= 返回值 =

Revision as of 09:15, 17 October 2015

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

CATable::GetSafeArray( )

Retrieves the CATable as a safe array (i.e., a Visual Basic array, .NET array, etc). The ordering of the dimensions is controlled by the SetIndexOrder method. The elements of each dimension are indexed 1 to N, where N is the size of each index.

当你读取一个具有2个或者更多维度的数组时,你应该先调用 SetIndexOrder来确保结果中维度的顺序是你想要的顺序。

返回值

数组

示例用法

作为一个VB数组获取内容的Visual basic代码

dim Var As CAObject
Dim curTable
curTable = Var.GetSafeArray

另请参考

Comments


You are not allowed to post comments.