Directory.GetDirectories Method
.NET Framework 4.5
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.
| Name | Description | |
|---|---|---|
|
GetDirectories(String) | Gets the names of subdirectories (including their paths) in the specified directory. |
|
GetDirectories(String, String) | Gets the names of subdirectories (including their paths) that match the specified search pattern in the current directory. |
|
GetDirectories(String, String, SearchOption) | Gets the names of the subdirectories (including their paths) that match the specified search pattern in the current directory, and optionally searches subdirectories. |