Difference between revisions of "CATable::GetSafeArray/zh"
(Created page with "= 另请参考 =") |
(Created page with "* CATable::GetDataByLabels、 CATable::GetDataByElements * CATable::PutSafeArray/zh | CATable::PutSafeAr...") |
||
Line 23: | Line 23: | ||
= 另请参考 = | = 另请参考 = | ||
− | * [[CATable::GetDataByLabels]] | + | * [[CATable::GetDataByLabels/zh | CATable::GetDataByLabels]]、[[CATable::GetDataByElements/zh | CATable::GetDataByElements]] |
− | * [[CATable::PutSafeArray]] | + | * [[CATable::PutSafeArray/zh | CATable::PutSafeArray]] |
− | * [[CATable::SetIndexOrder]] | + | * [[CATable::SetIndexOrder/zh | CATable::SetIndexOrder]] |
Revision as of 09:13, 17 October 2015
ADE User Guide > ADE Server Class Reference > CATable
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.
When you are reading an array with 2 or more dimensions, you should call SetIndexOrder first to ensure the order of dimensions in the result are in the order you would like.
返回值
数组
示例用法
作为一个VB数组获取内容的Visual basic代码
- dim Var As CAObject
- Dim curTable
- curTable = Var.GetSafeArray
另请参考
Comments
Enable comment auto-refresher