CAIndex::GetNumberByValue

Revision as of 01:17, 16 June 2015 by Karenlee (talk | contribs) (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ADE User Guide > ADE Server Class Reference > CAIndex

Other languages:
English • ‎中文

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


You are not allowed to post comments.