Table of Contents

TTMSFNCPersistence.IsGenericList Method

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

API unit family: TMSFNCPersistence Declaring type: TTMSFNCPersistence

Syntax

class function IsGenericList(AClass: TClass; AType: string = ''): Boolean; virtual;

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.