Directory.GetDirectories Method

July 28, 2014

Gets the names of subdirectories in a specified directory.

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

Public method Static member GetDirectories(String) Gets the names of subdirectories (including their paths) in the specified directory.
Public method Static member GetDirectories(String, String) Gets an array of directories (including their paths) that match the specified search pattern in the current directory.

© 2014 Microsoft