[Overview][Constants][Classes][Index] |
Search for an item, based on its name, and return its position
Source position: inicol.pp line 83
public function TNamedIniCollection.IndexOfName( |
const AName: string |
):Integer; |
AName |
|
Name to look for (case insensitive) |
Index of found item or -1 if none was found
IndexOfName searches the list of items and returns the index of the item which has name equal to AName (case insensitive). 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 it's UserData property |
|
|
Name of the item |