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


public static String[] GetFileSystemEntries(this DirectoryInfo this, string searchPattern, SearchOption searchOption)


Type:  DirectoryInfo
The directory to search.
Type:  String
The search string to match against the names of directories in .
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)