CAIndex::GetNumberByValue

Revision as of 03:00, 23 October 2015 by Jhuawen (talk | contribs) (Created page with "返回索引中索引标签的位置。")

ADE User Guide > ADE Server Class Reference > CAIndex

Other languages:
English • ‎中文

int GetNumberByValue(value)

返回索引中索引标签的位置。

参 数

«value» : The index element to look up. Can be a number or text.

Question: Can it be a CAObject, to find a handle?

返回值

integer -- the 1-based position.

API 错误

22 - "Value not found in index"

示例用法

int n = stateIndex.GetNumberByValue("California");

另请参考

Comments


You are not allowed to post comments.