Indicates if a TClass instance is found in the specified array.
Source position: lclproc.pas line 225
function ClassCase( |
const AClass: TClass; |
const ACase: array of TClass |
):Integer; overload; |
const AClass: TClass; |
const ACase: array of TClass; |
const ADescendant: Boolean |
):Integer; overload; |
AClass |
|
TClass instance to locate in ACase. |
ACase |
|
Array of TClass instances to examine in the routine. |
Ordinal position in ACase where the TClass instance was found, or -1 when not found.
AClass |
|
TClass instance to locate in ACase. |
ACase |
|
Array of TClass instances to examine in the routine. |
ADescendant |
|
True to consider descendants of AClass as a match in the routine. |
CT Web help |
CodeTyphon Studio |