[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Searches for an Item in the collection, based on its TCollectionItem.IDproperty.
Source position: classesh.inc line 409
public function TCollection.FindItemID( |
ID: Integer |
FindItemIDsearches through the collection for the item that has a value of IDfor its TCollectionItem.IDproperty, and returns the found item. If no such item is found in the collection, Nilis returned.
The routine performs a linear search, so this can be slow on very large collections.
|
Indexed array of items in the collection. |
|
|
Initial index of this item. |