Table of Contents

TTMSFNCObjectInspector.IsDescendingClass Method

Checks whether a class descends from any class name in the supplied list.

API unit family: TMSFNCObjectInspector Declaring type: TTMSFNCObjectInspector

Syntax

class function IsDescendingClass(AClass: TClass; AClassParentList: array of string): Boolean; virtual;

Parameters

Name Description
AClass Class to evaluate.
AClassParentList List of parent class names to match.

Returns

True when the class descends from one of the listed parent classes; otherwise False.