Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Directory.EnumerateFiles Method

Returns an enumerable collection of file names in a specified path.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member EnumerateFiles(String) Returns an enumerable collection of file names in a specified path.
Public method Static member EnumerateFiles(String, String) Returns an enumerable collection of file names that match a search pattern in a specified path.
Public method Static member EnumerateFiles(String, String, SearchOption) Returns an enumerable collection of file names that match a search pattern in a specified path, and optionally searches subdirectories.
Top

Community Additions

Show:
© 2014 Microsoft