GetFileSystemEntriesWhere(DirectoryInfo, string, SearchOption, Func`2) Method

Returns an enumerable collection of file names and directory names that match a search pattern in a specified @this, and optionally searches subdirectories.
Namespace: Z.IO.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static String[] GetFileSystemEntriesWhere(this DirectoryInfo this, string searchPattern, SearchOption searchOption, Func`2 predicate)

Parameters

this
Type:  DirectoryInfo
The directory to search.
searchPattern
Type:  String
The search string to match against the names of directories in .
searchOption
Type:  SearchOption
One of the enumeration values that specifies whether the search operation should include only the current directory or should include all subdirectories.The default value is .
predicate
Type:  Func`2
The predicate.

Return Value

Type:  String[]
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)