CAIndex::GetNumberByValue
Revision as of 04:20, 13 May 2015 by Lchrisman (talk | contribs) (Created page with "<< Back to CAIndex = int GetNumberByValue(value) = Returns the position of an index label in an index. == Parameters == «value» : The index element to look u...")
int GetNumberByValue(value)
Returns the position of an index label in an index.
Parameters
«value» : The index element to look up. Can be a number or text.
Question: Can it be a CAObject, to find a handle?
Return value
integer -- the 1-based position.
API Errors
- 22 - "Value not found in index"
Example Usage
int n = stateIndex.GetNumberByValue("California");
See Also
Comments
Enable comment auto-refresher