Directory.EnumerateFileSystemEntries Method

Returns an enumerable collection of file-system entries 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 EnumerateFileSystemEntries(String) Returns an enumerable collection of file-system entries in a specified path.
Public method Static member EnumerateFileSystemEntries(String, String) Returns an enumerable collection of file-system entries 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft