Directory.GetDirectories Method

Include Protected Members
Include Inherited Members

[ 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.

Overload List

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

Top

See Also

Reference

Directory Class

Directory Members

System.IO Namespace