TDefCollection.Find¶
Find an item by name.
Declaration¶
Source position: db.pas line 165
public
function TDefCollection.Find(const AName: string) : TNamedItem;
Description¶
Find searches for an item in the collection with name AName and returns the item if it is found. If no item with the requested name is found, Nil is returned. The search is performed case-insensitive.
Errors¶
If no item with matching name is found, Nil is returned.
See also¶
| Name | Description |
|---|---|
| TNamedItem.Name | Name of the item. |
| TDefCollection.IndexOf | Find location of item by name. |