Skip to main content
Table of Contents

TTMSMCPPersistence.IsGenericList Method

Returns whether the given class is a supported generic list type.

API unit family: TMS.MCP.Persistence Declaring type: TTMSMCPPersistence

Syntax

TMS.MCP.Persistence.hppPascalC++
class function IsGenericList(AClass: TClass; AType: string = ''): Boolean; virtual;
__classmethod virtual bool __fastcall IsGenericList(System::TClass AClass, System::UnicodeString AType = System::UnicodeString());

Parameters

Name Description
AClass The class to inspect.
AType Optional type name filter; pass an empty string to match any element type.

Returns

True if the class is a recognized generic list.