CAIndex::GetNumberByValue
ADE User Guide > ADE Server Class Reference > CAIndex
int GetNumberByValue(value)
返回索引中索引标签的位置。
参 数
«value»:查询的索引元素。可以是一个数字或者文本。
返回值
integer(整数)——位置(起始位置为1)。
API 错误
- 22 - "该值在索引中未找到"
示例用法
int n = stateIndex.GetNumberByValue("California");
另请参考
Comments
Enable comment auto-refresher