GetDirectoriesWhere(DirectoryInfo, string, Func`2) Method

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

Syntax

public static DirectoryInfo[] GetDirectoriesWhere(this DirectoryInfo this, string searchPattern, 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 .
predicate
Type:  Func`2
The predicate.

Return Value

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