Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Directory.EnumerateFileSystemEntries Method

Returns an enumerable collection of file-system entries 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 EnumerateFileSystemEntries(String) Returns an enumerable collection of file names and directory names in a specified path.
Public method Static member EnumerateFileSystemEntries(String, String) Returns an enumerable collection of file names and directory names that match a search pattern in a specified path.
Public method Static member EnumerateFileSystemEntries(String, String, SearchOption) Returns an enumerable collection of file names and directory names that match a search pattern in a specified path, and optionally searches subdirectories.
Top
Show:
© 2015 Microsoft