Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EnumerateFiles Method

Directory.EnumerateFiles Method

Returns an enumerable collection of file names that meet specified criteria.

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

  Name Description
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
Show:
© 2015 Microsoft