GetDirectories Method

Directory.GetDirectories Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

© 2017 Microsoft