Click or drag to resize
DirectoryEnumerateFiles Method (String)
Returns an enumerable collection of file names in a specified path.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntax
C#
public static IEnumerable<string> EnumerateFiles(
	string path
)

Parameters

path
Type: SystemString
The relative or absolute path to the directory to search. This string is not case-sensitive.

Return Value

Type: IEnumerableString
An enumerable collection of the full names (including paths) for the files in the directory specified by path.
Remarks
This method is identical to EnumerateFiles(String, String) with the asterisk (*) specified as the search pattern.
See Also