Difference between revisions of "CAIndex::GetValueByNumber"
(Marked this version for translation) |
|||
Line 3: | Line 3: | ||
<languages /> | <languages /> | ||
<translate> | <translate> | ||
− | = variant GetValueByNumber(int n) = | + | = variant GetValueByNumber(int n) = <!--T:1--> |
+ | <!--T:2--> | ||
Returns the index label at the specified position in the index. | Returns the index label at the specified position in the index. | ||
− | == Parameters == | + | == Parameters == <!--T:3--> |
+ | <!--T:4--> | ||
«n» : integer - the position in the index, where the first element is at position 1. | «n» : integer - the position in the index, where the first element is at position 1. | ||
− | == Return value == | + | == Return value == <!--T:5--> |
+ | <!--T:6--> | ||
variant | variant | ||
− | == API Errors == | + | == API Errors == <!--T:7--> |
+ | <!--T:8--> | ||
:23 - "Illegal position in index" | :23 - "Illegal position in index" | ||
− | = Example Usage = | + | = Example Usage = <!--T:9--> |
− | lastLabel = theIndex.GetValueByNumber( theIndex.[[CAIndex::IndexElements|IndexElements]] ) | + | <!--T:10--> |
+ | lastLabel = theIndex.GetValueByNumber( theIndex.[[CAIndex::IndexElements|IndexElements]] ) | ||
− | = See Also = | + | = See Also = <!--T:11--> |
+ | <!--T:12--> | ||
* [[CAIndex::GetNumberByValue]] | * [[CAIndex::GetNumberByValue]] | ||
</translate> | </translate> |
Latest revision as of 01:17, 16 June 2015
ADE User Guide > ADE Server Class Reference > CAIndex
variant GetValueByNumber(int n)
Returns the index label at the specified position in the index.
Parameters
«n» : integer - the position in the index, where the first element is at position 1.
Return value
variant
API Errors
- 23 - "Illegal position in index"
Example Usage
lastLabel = theIndex.GetValueByNumber( theIndex.IndexElements )
See Also
Comments
Enable comment auto-refresher