Difference between revisions of "CATable::GetSafeArray"

(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[CATable|<< Back to CATable]]
+
[[Category:ADE User Guide]]
 
+
[[ADE User Guide]] > [[ADE Server Class Reference]] > [[CATable]]
= [[CATable]]::GetSafeArray( ) =
+
<languages />
 +
<translate>
 +
= [[CATable]]::GetSafeArray( ) = <!--T:1-->
  
 +
<!--T:2-->
 
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.
  
 +
<!--T:3-->
 
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.
 
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.
  
= Return value =
+
= Return value = <!--T:4-->
  
 +
<!--T:5-->
 
Array
 
Array
  
= Example Usage =
+
= Example Usage = <!--T:6-->
  
 +
<!--T:7-->
 
Visual basic code to get the contents as a VB array:
 
Visual basic code to get the contents as a VB array:
 
<code>
 
<code>
Line 20: Line 26:
 
</code>
 
</code>
  
= See Also =
+
= See Also = <!--T:8-->
  
 +
<!--T:9-->
 
* [[CATable::GetDataByLabels]], [[CATable::GetDataByElements]]
 
* [[CATable::GetDataByLabels]], [[CATable::GetDataByElements]]
 
* [[CATable::PutSafeArray]]
 
* [[CATable::PutSafeArray]]
 
* [[CATable::SetIndexOrder]]
 
* [[CATable::SetIndexOrder]]
 +
</translate>

Latest revision as of 01:07, 16 June 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.

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.

Return value

Array

Example Usage

Visual basic code to get the contents as a VB array:

dim Var As CAObject
Dim curTable
curTable = Var.GetSafeArray

See Also

Comments


You are not allowed to post comments.