TTMSMCPPersistence.IsDescendingClass Method
Returns whether the given class descends from any class in the specified name list.
API unit family: TMS.MCP.Persistence
Declaring type: TTMSMCPPersistence
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.