RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBookmarkList.IndexOf Method

Returns the index of a bookmark string in the Items property array.

Pascal
function IndexOf(const Item: TBookmarkStr): Integer;
C++
__fastcall int IndexOf(const TBookmarkStr Item);

Call IndexOf to get the index for a bookmark string in the Items array. The first item in the array has index 0, the second item has index 1, and so on. If an item is not in the list, IndexOf returns -1. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!