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;
__classmethod virtual bool __fastcall IsDescendingClass(System::TClass AClass, System::UnicodeString *AClassParentList, const System::NativeInt AClassParentList_High);
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.