Table of Contents

TTMSFNCPersistence.IsDescendingClass Method

Returns whether the given class descends from any class in the specified name list.

API unit family: TMSFNCPersistence Declaring type: TTMSFNCPersistence

Syntax

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

Parameters

Name Description
AClass The class to inspect.
AClassParentList An array of class name strings to test against the class hierarchy.

Returns

True if any ancestor class name matches an entry in the list.