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

(Created page with "当你读取一个具有2个或者更多维度的数组时,你应该先调用 SetIndexOrder来确保结果中维度的顺序是你想要的顺...")
(Created page with "作为一个安全数组检索 CATable(例如,一个Visual Basic数组、.NET数组等等)。维度的顺序由 SetIndexOrder...")
 
Line 4: Line 4:
 
= [[CATable/zh | CATable]]::GetSafeArray( ) =
 
= [[CATable/zh | 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 [[CATable::SetIndexOrder|SetIndexOrder]] method. The elements of each dimension are indexed 1 to N, where N is the size of each index.
+
作为一个安全数组检索[[CATable/zh | CATable]](例如,一个Visual Basic数组、.NET数组等等)。维度的顺序由[[CATable::SetIndexOrder/zh | SetIndexOrder]] 方法控制。每个维度的元素索引位置从1到N,N为每个索引的大小。
  
 
当你读取一个具有2个或者更多维度的数组时,你应该先调用[[CATable::SetIndexOrder/zh | SetIndexOrder]]来确保结果中维度的顺序是你想要的顺序。
 
当你读取一个具有2个或者更多维度的数组时,你应该先调用[[CATable::SetIndexOrder/zh | SetIndexOrder]]来确保结果中维度的顺序是你想要的顺序。

Latest revision as of 09:17, 17 October 2015

ADE User Guide > ADE Server Class Reference > CATable

Other languages:
English • ‎中文

CATable::GetSafeArray( )

作为一个安全数组检索 CATable(例如,一个Visual Basic数组、.NET数组等等)。维度的顺序由 SetIndexOrder 方法控制。每个维度的元素索引位置从1到N,N为每个索引的大小。

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

返回值

数组

示例用法

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

dim Var As CAObject
Dim curTable
curTable = Var.GetSafeArray

另请参考

Comments


You are not allowed to post comments.