[Overview][Constants][Classes][Index] |
Search for an item based on it's UserData property
Source position: inicol.pp line 69
public function TNamedIniCollection.IndexOfUserData( |
UserData: TObject |
):Integer; |
UserData |
|
UserData to search for |
Index of found item, or -1 if none was found
IndexOfUserData searches the list of items and returns the index of the item which has UserData in its UserData property. If no such item exists, -1 is returned.
Note that the (linear) search starts at the last element and works it's way back to the first.
If no item exists, -1 is returned.
|
Search for an item, based on its name, and return its position |
|
|
User-defined data |