Skip to content

TClassList.IndexOf

Search for a class pointer in the list.

Declaration

Source position: contnrs.pp line 132

public 
function TClassList.IndexOf(AClass: TClass) : Integer;

Description

IndexOf searches for AClass in the list, and returns it's position if it was found, or -1 if it was not found in the list.

Errors

None.

See also

Name Description
#rtl.classes.tlist.indexof