FileSystem.GetDirectories Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a collection of strings representing the path names of subdirectories within a directory.
Overloads
| Name | Description |
|---|---|
| GetDirectories(String) |
Returns a collection of strings representing the path names of subdirectories within a directory. |
| GetDirectories(String, SearchOption, String[]) |
Returns a collection of strings representing the path names of subdirectories within a directory. |
GetDirectories(String)
- Source:
- FileSystem.vb
- Source:
- FileSystem.vb
- Source:
- FileSystem.vb
- Source:
- FileSystem.vb
- Source:
- FileSystem.vb
Returns a collection of strings representing the path names of subdirectories within a directory.
public:
static System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ GetDirectories(System::String ^ directory);
public static System.Collections.ObjectModel.ReadOnlyCollection<string> GetDirectories(string directory);
static member GetDirectories : string -> System.Collections.ObjectModel.ReadOnlyCollection<string>
Public Shared Function GetDirectories (directory As String) As ReadOnlyCollection(Of String)
Parameters
- directory
- String
Name and path of directory.
Returns
Read-only collection of the path names of subdirectories within the specified directory.