Click or drag to resize
DirectoryInfo.EnumerateFilesInternal Method
Returns an enumerable collection of file information that matches a specified search pattern and search subdirectory option.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 13.0.131
Syntax
C#
protected abstract IEnumerable<FileInfo> EnumerateFilesInternal(
	string searchPattern,
	SearchOption searchOption
)

Parameters

searchPattern
Type: System.String
Search pattern.
searchOption
Type: CMS.IO.SearchOption
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories.

Return Value

Type: IEnumerable<FileInfo>
An enumerable collection of files that matches searchPattern and searchOption.
See Also