DirectoryInfo.EnumerateFiles Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns an enumerable collection of file information in the current directory.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodEnumerateFiles()

Returns an enumerable collection of file information in the current directory.

System_CAPS_pubmethodEnumerateFiles(String)

Returns an enumerable collection of file information that matches a search pattern.

System_CAPS_pubmethodEnumerateFiles(String, SearchOption)

Returns an enumerable collection of file information that matches a specified search pattern and search subdirectory option.

Return to top
Show: