Difference between revisions of "CATable::IndexNames"
(Marked this version for translation) |
|||
Line 3: | Line 3: | ||
<languages /> | <languages /> | ||
<translate> | <translate> | ||
− | = [[CATable]]::IndexNames = | + | = [[CATable]]::IndexNames = <!--T:1--> |
+ | <!--T:2--> | ||
This property returns the names of the indexes of the table as a 1-D array. Use indexes in this order when using the [[CATable::GetDataByLabels|GetDataByLabels]], [[CATable::GetDataByElements|GetDataByElements]], [[CATable::SetDataByLabels|SetDataByLabels]] and [[CATable::SetDataByElements|SetDataByElements]] methods to get or set elements of the table. You can change the order with the [[CATable::SetIndexOrder|SetIndexOrder]] method. | This property returns the names of the indexes of the table as a 1-D array. Use indexes in this order when using the [[CATable::GetDataByLabels|GetDataByLabels]], [[CATable::GetDataByElements|GetDataByElements]], [[CATable::SetDataByLabels|SetDataByLabels]] and [[CATable::SetDataByElements|SetDataByElements]] methods to get or set elements of the table. You can change the order with the [[CATable::SetIndexOrder|SetIndexOrder]] method. | ||
− | = Return value = | + | = Return value = <!--T:3--> |
+ | <!--T:4--> | ||
One-D string array with dimension from 1 to the [[CATable]]'s [[CATable::NumDims|NumDims]] property. | One-D string array with dimension from 1 to the [[CATable]]'s [[CATable::NumDims|NumDims]] property. | ||
− | = Example Usage = | + | = Example Usage = <!--T:5--> |
+ | <!--T:6--> | ||
<code> | <code> | ||
:Dim names(k) of String = Var.DefTable.IndexNames | :Dim names(k) of String = Var.DefTable.IndexNames | ||
Line 18: | Line 21: | ||
− | = See Also = | + | = See Also = <!--T:7--> |
+ | <!--T:8--> | ||
* [[CATable::SetDataByLabels]], [[CATable::SetDataByElements]] | * [[CATable::SetDataByLabels]], [[CATable::SetDataByElements]] | ||
* [[CATable::GetDataByLabels]], [[CATable::GetDataByElements]] | * [[CATable::GetDataByLabels]], [[CATable::GetDataByElements]] |
Latest revision as of 01:00, 16 June 2015
ADE User Guide > ADE Server Class Reference > CATable
CATable::IndexNames
This property returns the names of the indexes of the table as a 1-D array. Use indexes in this order when using the GetDataByLabels, GetDataByElements, SetDataByLabels and SetDataByElements methods to get or set elements of the table. You can change the order with the SetIndexOrder method.
Return value
One-D string array with dimension from 1 to the CATable's NumDims property.
Example Usage
- Dim names(k) of String = Var.DefTable.IndexNames
See Also
Comments
Enable comment auto-refresher