CAIndex::GetNumberByValue
ADE User Guide > ADE Server Class Reference > CAIndex
int GetNumberByValue(value)
返回索引中索引标签的位置。
参 数
«value»:查询的索引元素。可以是一个数字或者文本。
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
Enable comment auto-refresher