Directory.GetFileSystemEntries 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 the names of all files and subdirectories that meet specified criteria.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetFileSystemEntries(String)

Returns the names of all files and subdirectories in a specified path.

System_CAPS_pubmethodSystem_CAPS_staticGetFileSystemEntries(String, String)

Returns an array of file names and directory names that that match a search pattern in a specified path.

System_CAPS_pubmethodSystem_CAPS_staticGetFileSystemEntries(String, String, SearchOption)

Returns an array of all the file names and directory names that match a search pattern in a specified path, and optionally searches subdirectories.

Return to top
Show: