Click or drag to resize
DirectoryInfoGetFiles Method (String, SearchOption)
Returns a file list from the current directory.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntax
C#
public FileInfo[] GetFiles(
	string searchPattern,
	SearchOption searchOption
)

Parameters

searchPattern
Type: SystemString
Search pattern
searchOption
Type: CMS.IOSearchOption
Search options

Return Value

Type: FileInfo
See Also