RAD Studio VCL Reference
|
Finds the first instance of a specified class in the list.
function FindInstanceOf(AClass: TClass; AExact: Boolean = True; AStartAt: Integer = 0): Integer;
__fastcall int FindInstanceOf(TClass AClass, Boolean AExact = True, int AStartAt = 0);
FindInstanceOf returns the index of the first instance of AClass appearing after AStartAt in the Items array. If AExact is true, FindInstanceOf returns instances only of AClass itself, ignoring instances of descendant classes. If no instance of the specified class is found, FindInstanceOf returns –1.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|