System.IOUtils.TDirectory.TFilterPredicate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFilterPredicate = reference to function(const Path: string;
const SearchRec: TSearchRec): Boolean;

C++

__interface TFilterPredicate  : public System::IInterface

Properties

Type Visibility Source Unit Parent
anonMethod
class
public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils TDirectory

Description

Represents a method type used when filtering file search results.

TFilterPredicate defines a method that can be passed to the directory traversal routines. A method of type TFilterPredicate can be either a simple method or an anonymous procedure. The following table lists the parameters used by TFilterPredicate.



Name Meaning

Path

The fully qualified path in which the file or directory is located. Note that Path does not include the name of the file or directory.

SearchRec

A TSearchRec structure holding the file or directory information.



See Also