PathFilter Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the given full path is eligible to be considered as part of the result of the file enumeration service.
public delegate bool PathFilter(System::String ^ fullPath, bool isDirectory);
public delegate bool PathFilter(string fullPath, bool isDirectory = false);
type PathFilter = delegate of string * bool -> bool
Public Delegate Function PathFilter(fullPath As String, Optional isDirectory As Boolean = false) As Boolean
Parameters
- fullPath
- String
Defines the full path to the file or folder.
- isDirectory
- Boolean
(optional) Defines whether the current item is a directory or a file.
Return Value
Returns True
if the entry is eligible.