CAIndex::GetNumberByValue

This page is a translated version of the page CAIndex::GetNumberByValue and the translation is 100% complete.

ADE User Guide > ADE Server Class Reference > CAIndex

Other languages:
English • ‎中文

int GetNumberByValue(value)

返回索引中索引標籤的位置。

參 數

«value»:查詢的索引元素。可以是一個數字或者文本。

問題:可以是一個CAObject嗎?,是要尋找一個句柄

返回值

integer(整數)——位置(起始位置為1)。

API 錯誤

22 - "該值在索引中未找到"

示例用法

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

另請參考

Comments


You are not allowed to post comments.