[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

TListFileSearcher.Create

Constructor for the class instance.

Declaration

Source position: fileutil.pas line 177

public constructor TListFileSearcher.Create(

  AList: TStrings

);

Arguments

AList

  

TStrings class instance used to store matching file names.

Description

Create is an alternate constructor for the class instance. Create calls the inherited constructor, and stores the TStrings instance in AList to the internal member used in the class instance.

Remark: Resources allocated to the TStrings instance must be freed by the caller. TListFileSearcher does not own or manage the resources for the TStrings instance.

Version 4.0 Generated 2025-05-03 Home