Finds an object in the list and returns its index.
Source position: classesh.inc line 1026
public function TStrings.IndexOfObject( |
AObject: TObject |
):Integer; virtual; |
IndexOfObject searches through the list of strings till it find a string associated with AObject, and returns the index of this string. If no such string is found, -1 is returned.
Remark: |
|
|
Return the index of the last occurrence of a string. |
|
|
Find a string in the list and return its position. |
|
|
Indexed access to the objects associated with the strings in the list. |