GetFileSystemEntries(DirectoryInfo, string[], SearchOption) 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[] GetFileSystemEntries(this DirectoryInfo this, string[] searchPatterns, SearchOption searchOption)

Parameters

this
Type:  DirectoryInfo
The directory to search.
searchPatterns
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 .

Return Value

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