This documentation is archived and is not being maintained.

Directory.GetDirectories Method

Gets the names of subdirectories in a specified directory.

Name Description
Directory.GetDirectories (String) Gets the names of subdirectories in the specified directory.

Supported by the .NET Compact Framework.

Directory.GetDirectories (String, String) Gets an array of directories matching the specified search pattern from the current directory.

Supported by the .NET Compact Framework.

Directory.GetDirectories (String, String, SearchOption) Gets an array of directories matching the specified search pattern from the current directory, using a value to determine whether to search subdirectories.
Show: