DirectoryInfo.

EnumerateFiles(string, SearchOption) Method

Assembly
Pri.LongPath.dll
Namespace
Pri.LongPath
Containing Type
DirectoryInfo

Syntax

public IEnumerable<FileInfo> EnumerateFiles(string searchPattern, SearchOption searchOption)

Parameters

Name Type Description
searchPattern string
searchOption SearchOption

Return Value

Type Description
IEnumerable<FileInfo>