Difference between revisions of "CATable::GetSafeArray"
(Created page with "<< Back to CATable = CATable::GetSafeArray( ) = Retrieves the CATable as a safe array (i.e., a Visual Basic array, .NET array, etc). The ordering of the ...") |
m (→Example Usage) |
||
Line 13: | Line 13: | ||
= Example Usage = | = Example Usage = | ||
− | + | Visual basic code to get the contents as a VB array: | |
<code> | <code> | ||
:dim Var As CAObject | :dim Var As CAObject |
Revision as of 17:50, 2 January 2015
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
Enable comment auto-refresher