JCL Help:TWideStrings.IndexOfObject

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the index of the string associated with a given object.


Pascal

 public function IndexOfObject(AObject: TObject): Integer;


Parameters

Parameters Description
AObject: TObject The object to search for.


Return Value

Zero based index of the first string associated with the specified object or -1 if the object is not associated with any of the strings.


Description

IndexOfObject returns the zero based index of the first string associated with the specified object. Note that the object comparison is simply a pointer comparison since this class has no knowledge of the object stored in it.


About

Donator

Mike Lischke


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page