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

Directory.EnumerateDirectories Method

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